This feels embarrassing, as I’ve been around here forever and this doesn’t seem like it should be a problem. I have two sites on different servers that I cannot get the pagination to work. I have tried caching, the call and uncaching it. Caching and uncaching the page. I have not installed phx on either.
My Ditto call:
[!Ditto? &parents=`75` &display=`10` &removeChunk=`Comments` &tpl=`podcast_blog` &sortBy=`createdon` &paginate=`1` &extenders=`summary,dateFilter` &paginateAlwaysShowLinks=`1` &tagData=`documentTags` !]
<div id="ditto_pages">[+start+] - [+stop+] of [+total+] Podcasts | [+previous+] [+pages+] [+next+] </div>
I’m working with ver 1.02 (I never had this problem with 0.9.6, or before)
You can view the page in question here:
http://therockofsouthwest.com/New/index.php?id=75
Any help would be appreciated.
There are no boring projects. Only boring executions. ~ Etzkorn
www.impress-design.com
Do you have more than 10 posts? Try &display=`5`
Do you have multiple ditto calls?
Andreas
Thanks for responding. There are 12 posts loaded right now (and 15 on the other site). Only one ditto call.
There are no boring projects. Only boring executions. ~ Etzkorn
www.impress-design.com
OK - so I did the unusual. I INSTALLED PHx as a plugin and the pagination worked.
There are no boring projects. Only boring executions. ~ Etzkorn
www.impress-design.com
Funny!! ...Did you use a split-pagination snippet?
No. Just something normal and out of the box.
There are no boring projects. Only boring executions. ~ Etzkorn
www.impress-design.com
Actually, on the second site I’m getting an error after installing the Plugin. Any ideas? The site is on a windows server that I have limited control over.
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
PHP error debug
Error: include_once() [function.include-once]: Unable to access /home/therockofsouthwest/public_html/New/assetsplugins/phx/phx.parser.class.inc.php
Error type/ Nr.: Warning - 2
File: /home/therockofsouthwest/public_html/New/manager/includes/document.parser.class.inc.php(746) : eval()’d code
Line: 9
Parser timing
MySQL: 0.0487 s (4 Requests)
PHP: 0.0615 s
Total: 0.1103 s
There are no boring projects. Only boring executions. ~ Etzkorn
www.impress-design.com
In your PHx plugin code use:
include_once $modx->config['base_path'] . "assets/plugins/phx/phx.parser.class.inc.php";
There are no boring projects. Only boring executions. ~ Etzkorn
www.impress-design.com