Hello, all. I didn’t post this under PrevJumpNext in case it is better handled by another snippet. I have a site with some large documents (
http://www.spiritualoutreach.org). I created the content as separate documents under one container. I used ditto to create a single page view and wayfinder to create both the top level table of contents and a fly-out table of contents in the margin of each subsection. Works great - thanks to the authors.
I would like to create Prev and Next navigation buttons on the individual sections but, since the documents can be somewhat complex, they are arranged hierarchically rather than all in one container - basically in outline form, e.g., 1, 2, 3, 3.1, 3.1.1, 3.1.2, 3.2, 4. This creates a very navigable table of contents.
I tried using the PrevNextJump snippet which worked great except that it does not navigate through the hierarchy. It only displays sibling documents and not children. Is there a way to have it navigate recursively? I would imagine it is a fairly simple change to the PHP but I know virtually nothing about PHP and so do not wish to attempt a hack. Thanks - John