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.

next_entry with reverse_related_entries

November 02, 2010 11:02am

Subscribe [2]
  • #1 / Nov 02, 2010 11:02am

    louisk

    40 posts

    Hi I have a question related to the {next_entry} tag with {reverse_related_entries}.

    I’m making a website for an Art Gallery where I have an Artists page related to the channel ‘artists’.
    Then I have a channel ‘artworks’ where there is a relationship field, linking to an artist.

    Now, on the template (page) where I show the Artwork, I would like a link to the next artwork from only the Artist the work belongs to.

    When I include the {next_entry} tag on the artwork page, I get the next artwork in the channel artworks, and not the next artwork belonging to that particular artist.

    How would I link the two?

  • #2 / Nov 12, 2010 3:36am

    togs

    9 posts

    I have a similar issue to what louisk is trying to solve.

    How does one get the next_entry, but have it only go to the next entry with the same relationship?

    Would this require a custom query, and any input on the syntax,

    Thank you for any help that is offered,

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

ExpressionEngine News!

#eecms, #events, #releases