We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 332
    • 23 Posts
    Hi everyone. Is there a way to get the ditto pagination results on a result page? What I mean is, I have my ditto call working fine with pagination. It returns, say, 5 documents. If I click on one of the documents in the result set, is there a way to bring the pagination from the results page onto this individual result page. Obviously, I want to just have a link for "Previous" and "Next"?

    Or do I need to run a new Ditto call on the result page, set the pagination limit to 1, and then use previous and next links?

    thanks in advance!
    anthony
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Perhaps the PrevNextJump snippet would be more appropriate for this.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 332
        • 23 Posts
        Thank you Susan! I will check that Snippet out.
        Regards,
        Anthony