ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Previous/next links

July 22, 2011 5:17am

Subscribe [1]
  • #1 / Jul 22, 2011 5:17am

    trenchard

    128 posts

    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)

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases