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.

Conditionals on related entries - show all entries whose relationship field matches the entry currently viewed

January 18, 2009 4:31pm

Subscribe [1]
  • #1 / Jan 18, 2009 4:31pm

    DavidB

    11 posts

    Is this possible? If not please tell me - it’s driving me mad trying to find a solution! (And I don’t want to use categories as they are too limited for my purposes.)

    I have weblog A and weblog B, they are related using related_entries.

    I want to go to a single post from weblog B, and on the same page display all the other posts from weblog B that are related to the same entry in weblog A that the currently viewed entry is related to. Ie Display only entries from weblog B whose relationship fields are equal to the entry currently being viewed.

    For example, if a post in weblog A is Andy Warhol, and weblog B contains lots of artworks, some of which are by Warhol (as related entries), I want to click on one of the Warhol artworks and also see a list of all the other artworks by Warhol.

    Can this be done using conditionals? Or anything else? Please help if you can!

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

ExpressionEngine News!

#eecms, #events, #releases