We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 9572
    • 56 Posts
    Well I’m back with another question. I’ve searched the site, googled it, took a look at the wiki, and still have issues getting pagination to work properly.

    This is my Ditto call;
    [[Ditto? &tpl=`blogentry` &dateFormat=`%D` &startID=`7` &sortDir=`DESC` &sortBy=`createdon` &summarize=`3` &paginate=`1` &paginateAlwaysShowLinks=`1` &filter=`tvDontShowOnHomepage,1,2`]]
    Page [+current+] of [+total+] Articles
    [+previous+] [+pages+] [+next+]


    You can see it in action here; http://www.fegul.com/modx/index.php?id=7

    I have it limit itself to three blog entries per page, and I have created 4 that are visible to the Ditto template.

    The issue occurs when I click on the Next placeholder to see the previous posts. As you can see, it doesn’t display the other blog entries on the other pages, it just displays the same newest 3 entries.

    What am I doing wrong?
      • 18397
      • 3,250 Posts
      That call needs to be uncached. Call it as [!call!]
        • 9572
        • 56 Posts
        Thank you! that fixed it