[[Ditto? &id=`1` &parents=`53` &display=`3` &removeChunk=`Comments` &tpl=`ditto_blog` &paginate=`1` &extenders=`summary,dateFilter` &paginateAlwaysShowLinks=`1` &tagData=`documentTags`]]
[[Ditto? &id=`2` &parents=`53` &display=`3` &removeChunk=`Comments` &tpl=`ditto_blog` &paginate=`1` &extenders=`summary,dateFilter` &paginateAlwaysShowLinks=`1` &tagData=`documentTags`]]
<div id="Main-Content"> <div id="Portfolio_Container"> [!Ditto? &parents=`[*id*]` &depth=`3` &display=`1` &total=`10` &paginate=`1` &paginateAlwaysShowLinks= `1` &sortDir=`ASC` &tpl=`Portfolio_Template` &showPublishedOnly=`1` &extenders=`request` &filter=`id,50,2|id,51,2|id,52,2` &tplPaginatePrevious=`<` &tplPaginateNext=`>` !] <div id="ditto_pages"> [+previous+] [+next+] [+pages+] </div> </div> </div>
$_lang['prev'] = "< Previous"; $_lang['next'] = "Next >";
[!Ditto? &parents=`5` &orderBy=`createdon ASC` &display=`2` &total=`2` &paginateAlwaysShowLinks='1' &tpl=`intro_blog` paginate='1' &tplPaginatePage=`pageSplitter` &tplPaginateCurrentPage=`currentPageSplitter`!]
Showing [+start+] - [+stop+] of [+total+] Articles | Page [+currentPage+] of [+totalPages+] [+previous+] [+pages+] [+next+]
<h3><a href="[~[+id+]~]">[+menutitle+]</a></h3> <p>[+introtext+]  <a href="[~[+id+]~]">Read More... </a></p>
&display=`2` &total=`2`
thanks softtwell for quick replay
What’s the point of having the pagination if you are only displaying two items?
&display=`2` &total=`2`
&hideFolders=`1` &seeThruUnpub=`0`
&tplPaginatePage=`pageSplitter` &tplPaginateCurrentPage=`currentPageSplitter`
Do you have your container pages marked as uncached? I had this issue where pagnation wouldn’t work, if i was caching the container folders. as soon as i made them unchaced. the pagnation worked. more so if your not using PHX. to check edit your container page, then click the settings tab. the cache option is towards the bottom.
i would also throw inthis hides the container folders, and the other helps when unpublishing a container, but the children are still marked as published. you will probably want this later on...&hideFolders=`1` &seeThruUnpub=`0`
Try removinguntil you get the basic pagination working. I’ve had some issues where these caused issues when i didn’t have them set right.&tplPaginatePage=`pageSplitter` &tplPaginateCurrentPage=`currentPageSplitter`
[[Ditto? &id=`print-gallery` &tpl=`print_gallery_tpl` &paginate=`1` &display=`2` &paginateAlwaysShowLinks=`1`]] [+previous+] [+pages+] [+next+]
&id=`print-gallery`
[+print-gallery_previous+] [+print-gallery_pages+] [+print-gallery_next+]