<![CDATA[ [Tutorial] Pagination - MODX Community Forums]]> https://forums.modx.com/thread/?thread=41295 <![CDATA[Re: [Tutorial] Pagination]]> https://forums.modx.com/thread/41295/tutorial-pagination?page=9#dis-post-422575 Quote from: microcipcip at May 06, 2012, 03:37 AM
You mean friendly URL for the pagination? I don't know if that's possible.

Yes, friendly URL for the pagination.
Oh well, it would have been a nice bonus to find a way to implement them.

Appreciate your taking time to help me, thanks!
Jules]]>
juleswebb May 05, 2012, 10:56 PM https://forums.modx.com/thread/41295/tutorial-pagination?page=9#dis-post-422575
<![CDATA[Re: [Tutorial] Pagination]]> https://forums.modx.com/thread/41295/tutorial-pagination?page=9#dis-post-422571 microcipcip May 05, 2012, 10:37 PM https://forums.modx.com/thread/41295/tutorial-pagination?page=9#dis-post-422571 <![CDATA[Re: [Tutorial] Pagination]]> https://forums.modx.com/thread/41295/tutorial-pagination?page=9#dis-post-422561 Quote from: microcipcip at May 05, 2012, 08:06 PM
Quote from: juleswebb at May 05, 2012, 07:48 PM

Yes, you need to make the whole page uncached, not just Ditto Call. That's why I linked you an alternative solution where you don't need to make the page uncached.

I did try the solution you linked to, but it gave me errors on the page. I wan't convinced that having the page cached was worth the extra time troubleshooting it and took what I thought would be the path of least resistance.

I went in to my blog resource and unchecked "Cacheable" The paginate links now work correctly.

Is there a technique you can link me to that creates a friendly url?
mysite.com/blog?blog_start=10

]]> juleswebb May 05, 2012, 10:04 PM https://forums.modx.com/thread/41295/tutorial-pagination?page=9#dis-post-422561 <![CDATA[Re: [Tutorial] Pagination]]> https://forums.modx.com/thread/41295/tutorial-pagination?page=8#dis-post-422545 Quote from: juleswebb at May 05, 2012, 07:48 PM
Yes I am using the PHx plugin, so I updated my Ditto call to be uncached and the pagination links are now showing correctly. Unfortunately they're not working correctly.
.....
Any ideas on this?
Yes, you need to make the whole page uncached, not just Ditto Call. That's why I linked you an alternative solution where you don't need to make the page uncached.
]]>
microcipcip May 05, 2012, 03:06 PM https://forums.modx.com/thread/41295/tutorial-pagination?page=8#dis-post-422545
<![CDATA[Re: [Tutorial] Pagination]]> https://forums.modx.com/thread/41295/tutorial-pagination?page=8#dis-post-422544 Quote from: kp52 at May 05, 2012, 11:55 AM
Do you use the PHx plugin? If so, you need to call Ditto uncached, and make the page non-cacheable for pagination to work.
:) KP

Yes I am using the PHx plugin, so I updated my Ditto call to be uncached and the pagination links are now showing correctly. Unfortunately they're not working correctly.

I currently have 12 posts. using &display=`10` the 10 most current posts show and the next link takes me to: mysite.com/blog?blog_start=10
BUT when I click on the link I get the same 10 posts showing up.
Any ideas on this?


@microcipcip - thanks for the link.

THANK YOU for the responses you guys!
Jules]]>
juleswebb May 05, 2012, 02:48 PM https://forums.modx.com/thread/41295/tutorial-pagination?page=8#dis-post-422544
<![CDATA[Re: [Tutorial] Pagination]]> https://forums.modx.com/thread/41295/tutorial-pagination?page=8#dis-post-422527 http://forums.modx.com/thread/42253/ditto-with-pagination-on-cashed-page#dis-post-244847]]> microcipcip May 05, 2012, 08:20 AM https://forums.modx.com/thread/41295/tutorial-pagination?page=8#dis-post-422527 <![CDATA[Re: [Tutorial] Pagination]]> https://forums.modx.com/thread/41295/tutorial-pagination?page=8#dis-post-422521 :) KP]]> kp52 May 05, 2012, 06:55 AM https://forums.modx.com/thread/41295/tutorial-pagination?page=8#dis-post-422521 <![CDATA[Re: [Tutorial] Pagination]]> https://forums.modx.com/thread/41295/tutorial-pagination?page=8#dis-post-422482
                         
[!Ditto? &id=`blog` &parents=`26` &filter=`id,34,2|id,35,2||id,36,2||id,37,2||id,38,2||id,39,2` &extenders=`summary` &tpl=`blogExcerpt` &sortBy=`pub_date` &sortDir=`DESC` &display=`10` &paginate=`1` &paginateAlwaysShowLinks=`1` &truncLen=`400` &truncOffset=`20` &truncText=`Continue Reading` &dateSource=`pub_date` &dateFormat=`%B %e, %Y`!]
                                                       
<div id="pageNav">[+blog_previous+] [+blog_pages+] [+blog_next+]</div>


Any insights would be so appreciated!
thx ~ Jules]]>
juleswebb May 04, 2012, 08:51 PM https://forums.modx.com/thread/41295/tutorial-pagination?page=8#dis-post-422482
<![CDATA[Re: [Tutorial] Pagination]]> https://forums.modx.com/thread/41295/tutorial-pagination?page=8#dis-post-404487 :) KP]]> kp52 Dec 22, 2011, 04:31 AM https://forums.modx.com/thread/41295/tutorial-pagination?page=8#dis-post-404487 <![CDATA[Re: [Tutorial] Pagination]]> https://forums.modx.com/thread/41295/tutorial-pagination?page=8#dis-post-404447
One more question, since I have your attention! smiley

Is it possible to have two separate next/previous templates in the same Ditto call? Say, one that uses the arrow images, and then another for a set that just has the Previous/Next text.

If that makes sense.]]>
firebot6 Dec 21, 2011, 05:10 PM https://forums.modx.com/thread/41295/tutorial-pagination?page=8#dis-post-404447