I am running a dynamic channel entry tag in a page that loads an entry from channel A that has a relationship with an entry in channel B. We need to identify the next channel A entry that has a relationship with channel B. If we click into the next channel A entry then we need to produce the same type of “next” link and create a link to the previous entry that we just reviewed. In other words I want to “page” through the entries of channel A filtered on channel B starting with the entry that is indicated by the URL.
We can clearly throw this into a PHP array and do something with sessions, but I’m curious if there is some trick to using dynamic channel tags with pagination that would allow this to work within EE tags.
I am using an URL structure that simply calls the template and url title of the channel A entry (e.g. /projects/detail/project-name)