Howdy.
I'd like to provide next/previous links when displaying a node. I think that all I need is the nid, since I'm just constructing links, so calling nodequeue_load_nodes and then walking the array seems kind of heavy weight.
Is there an easy, or canonical way to do this? If anyone else would be interested in having utility functions for this, I'd consider writing them.
I realize this is similar to #464310: nodequeue pager (pager through nodes in a queue) - code provided but more minimal. It seems to me that use cases for both a pager, and a simple get_next or get_previous function exist.
Comments
Comment #1
firebus commentedwell, if anyone is interested, here's my take on this. any and all feedback welcome.
Comment #2
firebus commented