We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36926
    • 701 Posts
    Hi,

    I have a ditto call that list all it’s children documents, and have a more info link to display the content of each item and when viewing the individual items content i want to be able to navigate to the next item with a pagination.

    So for Example if i have:

    item 1 - More info
    item 2 - More info
    item 3 - More info

    Then when a user clicks say on the more info for item 2 the contents for that item is displayed but the user is able to navigate to the the other items say using pagination. The problem is determine what item number in the list the more info link has linked to.

    What i was thinking is having the more info, link to the child document that using a ditto call with pagination in it. But the only way i can see to tell what pages content is the active page in pagination is using &start within the URL. But i need to some how know what &start number should be amended to the more info url?

    Anyone done anything similar, i’ve search around and cant fine any solutions. So any help would be great.

    Thanks

    Ben




      • 36926
      • 701 Posts
      Still no success with this. I’m wonder if it’s possible to do some kind of pagination with wayfinder. But not sure how i can tell what number in the document tree it is.
        • 36926
        • 701 Posts
        Anyone got any suggestions at all?
          • 26931
          • 2,314 Posts
          anonymized-26931 Reply #4, 17 years ago
          Hi bennyB,

          you probably need something like the PrevJumpNext snippet http://modxcms.com/extras/package/351 on your item pages
          ..or Navigator: http://modxcms.com/extras/package/314
            • 36926
            • 701 Posts
            Quote from: sharkbait at Sep 25, 2009, 05:13 AM

            you probably need something like the PrevJumpNext snippet http://modxcms.com/extras/package/351 on your item pages

            Thanks sharkbait, this look promising. I’ll try it out.

            Thanks

            Ben