We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3046
    • 48 Posts
    Hello everybody!

    I have a site, and there is just a new page with [!Ditto!}

    and

    <div id="ditto_pages">
     [+previous+] [+pages+] [+next+] 
    </div>


    after it.

    Still ther were only 15-25 news(docs) everything was fine, but when it come 42 news(docs) pagination not working any more.

    I’ve tried to cash, uncash docs, it didn’t help.

    Any thoughts?

    Thank you
      • 16278
      • 928 Posts
      What does the full Ditto call look like? Presumably it must include at least &paginate=`1` if you are getting pagination sometimes.

      Have you tried adding &debug=`1` to see what parameters Ditto is actually using and what it is retrieving?

      Caching is fairly simple: if you don’t have the full PHx plugin installed, make the Ditto called [!uncached!] and the document cacheable; if you do have PHx plugin, make Ditto call [[cached]] and document uncacheable. Caching factors affect debug the same way as they affect pagination - the debug console doesn’t work if the caching is wrong.

      :) KP
        • 3046
        • 48 Posts
        Quote from: kp52 at Jul 31, 2009, 03:14 PM

        What does the full Ditto call look like? Presumably it must include at least &paginate=`1` if you are getting pagination sometimes.

        Have you tried adding &debug=`1` to see what parameters Ditto is actually using and what it is retrieving?

        Caching is fairly simple: if you don’t have the full PHx plugin installed, make the Ditto called [!uncached!] and the document cacheable; if you do have PHx plugin, make Ditto call [[cached]] and document uncacheable. Caching factors affect debug the same way as they affect pagination - the debug console doesn’t work if the caching is wrong.

        :) KP


        Thank you very much, KP ))

        Your reply solved my problem. I’ve installed PHx and didn’t know that i need to change cashing parameters.