Hi Folks!
I am using ModX Revo and am trying to create a simple prev next Navigation thing for my site. It should work like this:
I have a "root" document (folder) that should be page 1. On this page there should be just a "next page" link. On the next page - which should be a sub document of my root document should be a "prev page" and a "next page" link on it. I was thinking of using wayfinder for this, but am not shure how i can only display one Link each time that links to the next document in the document tree. Same problem with the link for the prev. document....
Or maybe there is another possibility to create pagination in one single document? Maybe someone could point me to the right direction?
Would be great - thanks a lot!
EDIT: I discovered the snippet SelfLink - will test this, maybe this is exactly what i need
EDIT2: No SelfLink wasn’t the right snippet - it just cycles throu the document tree by ID and doesn’t navigate to sub documents of my folders - so any other suggestion would be welcome.