Ok, I made that change. Edit the setPlaceholders snippet in the manager and replace the contents with the
new version. I haven't tested it super thoroughly yet, but it seems ok.
That will allow this to work and jump between resources, subcategories and now categories
[[setPlaceholders? &ph=`
prev == prev.uri !! parent.prev.child-1.uri !! parent2.prev.child-1.child-1.uri ||
next == next.uri !! parent.next.child.uri !! parent2.next.child.child.uri
`]]
[[+prev:!empty=`<a href="[[+prev]]">Previous</a>`]]
[[+next:!empty=`<a href="[[+next]]">Next</a>`]]
If you want to skip weblinks, in theory this monster should work:
[[setPlaceholders? &ph=`
prev == prev.uri !! parent.prev.child-1.uri !! parent2.prev.child-1.child-1.uri ||
prevtype == prev.class_key ||
beforeprev == prev2.uri !! parent.prev.child-1.uri !! parent2.prev.child-1.child-1.uri ||
next == next.uri !! parent.next.child.uri !! parent2.next.child.child.uri ||
nexttype == next.class_key ||
afternext == next2.uri !! parent.next.child.uri !! parent2.next.child.child.uri
`]]
[[+prev:!empty=`<a href="[[+prevtype:eq=`modWebLink`:then=`[[+beforeprev]]`:else=`[[+prev]]`]]">Previous</a>`]]
[[+next:!empty=`<a href="[[+nexttype:eq=`modWebLink`:then=`[[+afternext]]`:else=`[[+next]]`]]">Next</a>`]]
Let me know what happens if you run that : )