I have a website of wedding gowns and accessories. Gowns are individual resources and in the modx manager are listed by designer. Each resource has a number of TVs that can be selected, for example, the type of fabric, style of dress, plus size, price range. I then have Landing, or listing pages (Using getPages and getResources) to display for example: Plus Size gowns, and Gowns in Price range x. What I would love to be able to do is once I then click onto the resource, somehow create next / previous links that display the next and previous pages of the getResources call from the previous page. So, if I have come via the Plus size page, I can then scroll through the other plus size gowns. But, if I have come via the Backless Gowns, I would navigate through other backless gowns.
I've been looking at all of the Prev Next snippets and they all seem to be based on menuindex, or other things that need to be set to that resource, and not dynamic depending on where the user has come from. Am I missing something, or can someone suggest a way I might be able to do this?