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.

Selecting Entries in a Multi Relationship Only Once

December 13, 2010 6:13am

Subscribe [2]
  • #1 / Dec 13, 2010 6:13am

    Liam Spencer

    37 posts

    Hi, I’m back with another question after a few months hiatus!

    I’ll explain the problem I have in as much detail as possible. I’m using the Mark Huot Multi Relationship in the example. In my system I have an award weblog, which can have multiple Judges for each award. These judges are identified by selecting one to many profile weblogs. So, a one award can have many profiles as judges. The problem I have is that I need every profile to be unique, as a profile can judge many awards. I need these profiles to only be listed once (I’m creating a list of judges), and at the moment, judges who judge more than one award are being listed each time they are identified in an award.

    I hope this makes sense and I’m quite desperate for a fix as I have a very tight deadline. Any help will be so much appreciated. Here is the small snippet of code I’m using. I just can’t seem to find any archived help with this issue.

    {exp:weblog:entries weblog="award"}
        {if award_judges != ""}
            {related_entries id='award_judges'}
                {embed='people/details' the_id="{entry_id}"}
            {/related_entries}
        {/if}
    {/exp:weblog:entries}
  • #2 / Dec 13, 2010 3:38pm

    Ingmar

    29245 posts

    I am afraid we can’t support issue with a third-party add-on like this one. Let me move this to the CodeShare Corner for you for some additional community support.

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

ExpressionEngine News!

#eecms, #events, #releases