<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Codeigniter Pagination Part 4</title>
	<atom:link href="http://www.weblee.co.uk/2009/06/12/codeigniter-pagination-part-4/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.weblee.co.uk/2009/06/12/codeigniter-pagination-part-4/</link>
	<description>PHP Freelance Developer</description>
	<lastBuildDate>Wed, 04 May 2011 10:24:34 +0100</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Erik Corona</title>
		<link>http://www.weblee.co.uk/2009/06/12/codeigniter-pagination-part-4/comment-page-1/#comment-160</link>
		<dc:creator>Erik Corona</dc:creator>
		<pubDate>Fri, 08 Apr 2011 14:17:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.weblee.co.uk/?p=237#comment-160</guid>
		<description>Thank you very much for this tutorial, I&#039;m amazed how easy it is. I hope it works for me since I have implemented query strings and several parameters in the URL.</description>
		<content:encoded><![CDATA[<p>Thank you very much for this tutorial, I&#8217;m amazed how easy it is. I hope it works for me since I have implemented query strings and several parameters in the URL.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas</title>
		<link>http://www.weblee.co.uk/2009/06/12/codeigniter-pagination-part-4/comment-page-1/#comment-150</link>
		<dc:creator>Thomas</dc:creator>
		<pubDate>Sat, 20 Nov 2010 03:44:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.weblee.co.uk/?p=237#comment-150</guid>
		<description>Great tutorial Lee. I already had pagination working then I implemented your ajax calls and it worked fine except i have this little problem. On the pagination, when i click on the second page the ajax calls the controller and it returns the correct set and the div refreshes, now when i click on the third page the ajax gets called twice and 2 same exact sets of results come back, then on the fourth page it gets called 4 times, going back to any page make the ajax call the number of previous calls to the power of 2 !!!! so you can imagine the controller being called 16 times on the 5th call!

I have a screenshot taken of firebug console as i go between the 2nd and 3rd page, you can see the number of request it&#039;s making! the screenshot can be seen at http://www.nayzak.com/ajax_pag_debug.jpg

Any help would be appreciated.

Thanks again,
-Thomas</description>
		<content:encoded><![CDATA[<p>Great tutorial Lee. I already had pagination working then I implemented your ajax calls and it worked fine except i have this little problem. On the pagination, when i click on the second page the ajax calls the controller and it returns the correct set and the div refreshes, now when i click on the third page the ajax gets called twice and 2 same exact sets of results come back, then on the fourth page it gets called 4 times, going back to any page make the ajax call the number of previous calls to the power of 2 !!!! so you can imagine the controller being called 16 times on the 5th call!</p>
<p>I have a screenshot taken of firebug console as i go between the 2nd and 3rd page, you can see the number of request it&#8217;s making! the screenshot can be seen at <a href="http://www.nayzak.com/ajax_pag_debug.jpg" rel="nofollow">http://www.nayzak.com/ajax_pag_debug.jpg</a></p>
<p>Any help would be appreciated.</p>
<p>Thanks again,<br />
-Thomas</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shaon</title>
		<link>http://www.weblee.co.uk/2009/06/12/codeigniter-pagination-part-4/comment-page-1/#comment-147</link>
		<dc:creator>shaon</dc:creator>
		<pubDate>Sat, 13 Nov 2010 08:39:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.weblee.co.uk/?p=237#comment-147</guid>
		<description>Great Tutorial for ajax pagintion.

Thank a lot man, who create this video tutorial for us.</description>
		<content:encoded><![CDATA[<p>Great Tutorial for ajax pagintion.</p>
<p>Thank a lot man, who create this video tutorial for us.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Minh Tran</title>
		<link>http://www.weblee.co.uk/2009/06/12/codeigniter-pagination-part-4/comment-page-1/#comment-131</link>
		<dc:creator>Minh Tran</dc:creator>
		<pubDate>Thu, 03 Jun 2010 20:58:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.weblee.co.uk/?p=237#comment-131</guid>
		<description>That &#039;s awesome, Lee. Thanks for that :)</description>
		<content:encoded><![CDATA[<p>That &#8217;s awesome, Lee. Thanks for that <img src='http://www.weblee.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Swetz</title>
		<link>http://www.weblee.co.uk/2009/06/12/codeigniter-pagination-part-4/comment-page-1/#comment-122</link>
		<dc:creator>Swetz</dc:creator>
		<pubDate>Tue, 02 Mar 2010 10:25:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.weblee.co.uk/?p=237#comment-122</guid>
		<description>Hey Lee...

These were great tutorials i have ever found on CI + MySQL + PHP  + Jquery + Pagination :) 
it was the best help for me n my team. i was struggling on net since 2 months n found n its gr8 to know tht my pagination is working completely fine. many thanks to your screencasts and your hard work.

I had one query, I have two pagination instances in single page. But its not working and overwrites pagination links. Can you just let me know is it a possible scenario?

Thanks,
Swetz</description>
		<content:encoded><![CDATA[<p>Hey Lee&#8230;</p>
<p>These were great tutorials i have ever found on CI + MySQL + PHP  + Jquery + Pagination <img src='http://www.weblee.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
it was the best help for me n my team. i was struggling on net since 2 months n found n its gr8 to know tht my pagination is working completely fine. many thanks to your screencasts and your hard work.</p>
<p>I had one query, I have two pagination instances in single page. But its not working and overwrites pagination links. Can you just let me know is it a possible scenario?</p>
<p>Thanks,<br />
Swetz</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aliocee</title>
		<link>http://www.weblee.co.uk/2009/06/12/codeigniter-pagination-part-4/comment-page-1/#comment-83</link>
		<dc:creator>Aliocee</dc:creator>
		<pubDate>Fri, 11 Sep 2009 19:30:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.weblee.co.uk/?p=237#comment-83</guid>
		<description>Thx lee for your answers, its really working fine. 1 last thing i want ask is, can i display eg. page 1 of 10, 2 of 10 and so on ?</description>
		<content:encoded><![CDATA[<p>Thx lee for your answers, its really working fine. 1 last thing i want ask is, can i display eg. page 1 of 10, 2 of 10 and so on ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lee</title>
		<link>http://www.weblee.co.uk/2009/06/12/codeigniter-pagination-part-4/comment-page-1/#comment-82</link>
		<dc:creator>Lee</dc:creator>
		<pubDate>Wed, 09 Sep 2009 07:27:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.weblee.co.uk/?p=237#comment-82</guid>
		<description>I would use CSS to hide them.

So make sure you use all the customizing options available (use config/pagination.php) and give them all a class ie hidden (css = display:none) to the ones you don&#039;t want to display.

Hope that helps.</description>
		<content:encoded><![CDATA[<p>I would use CSS to hide them.</p>
<p>So make sure you use all the customizing options available (use config/pagination.php) and give them all a class ie hidden (css = display:none) to the ones you don&#8217;t want to display.</p>
<p>Hope that helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aliocee</title>
		<link>http://www.weblee.co.uk/2009/06/12/codeigniter-pagination-part-4/comment-page-1/#comment-81</link>
		<dc:creator>Aliocee</dc:creator>
		<pubDate>Wed, 09 Sep 2009 01:35:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.weblee.co.uk/?p=237#comment-81</guid>
		<description>in pagination links, please how can i remove the digits, 
first and last button? i want only next and previous to appear it that possible?

im sorry im very to all these, but thanks i found some1 like u.

thx</description>
		<content:encoded><![CDATA[<p>in pagination links, please how can i remove the digits,<br />
first and last button? i want only next and previous to appear it that possible?</p>
<p>im sorry im very to all these, but thanks i found some1 like u.</p>
<p>thx</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aliocee</title>
		<link>http://www.weblee.co.uk/2009/06/12/codeigniter-pagination-part-4/comment-page-1/#comment-80</link>
		<dc:creator>Aliocee</dc:creator>
		<pubDate>Tue, 08 Sep 2009 14:02:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.weblee.co.uk/?p=237#comment-80</guid>
		<description>Thanks its working great....u r da best</description>
		<content:encoded><![CDATA[<p>Thanks its working great&#8230;.u r da best</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lee</title>
		<link>http://www.weblee.co.uk/2009/06/12/codeigniter-pagination-part-4/comment-page-1/#comment-79</link>
		<dc:creator>Lee</dc:creator>
		<pubDate>Tue, 08 Sep 2009 07:28:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.weblee.co.uk/?p=237#comment-79</guid>
		<description>Its because you have not followed the tutorial :-).

Open up /application/config/constants.php  and add the following.

&lt;code&gt;define(&#039;IS_AJAX&#039;, isset($_SERVER[&#039;HTTP_X_REQUESTED_WITH&#039;]) &amp;&amp; strtolower($_SERVER[&#039;HTTP_X_REQUESTED_WITH&#039;]) == &#039;xmlhttprequest&#039;);&lt;/code&gt;

you will then be sorted.</description>
		<content:encoded><![CDATA[<p>Its because you have not followed the tutorial <img src='http://www.weblee.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> .</p>
<p>Open up /application/config/constants.php  and add the following.</p>
<p><code>define('IS_AJAX', isset($_SERVER['HTTP_X_REQUESTED_WITH']) &amp;&amp; strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) == 'xmlhttprequest');</code></p>
<p>you will then be sorted.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

