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.

Related Entries

July 02, 2007 11:09am

Subscribe [0]
  • #1 / Jul 02, 2007 11:09am

    medic119

    52 posts

    I was reading through the docs and experimenting a bit.  I read all the related entries stuff and set up a relationship.  It worked fine, but just a couple questions popped up so I thought I’d ask the EE gurus.

    Is there a way to make the Related entries Listbox a multi-select?  i.e. I want to be able to relate more than one child entry to the parent.

    EX:
    Related Entries:
    Loreum Ipsum
    Loreum Ipsum2
    Latinus Crapicus

    I need to be able to hide the reverse_related_entries via a conditional so the static text used would not be visible if there were no parent.  Its easy from the parent as the conditional just reads the custom field “relative”:

    {if relative}
    <h2>Related Entries</h2>
    <p>*** related entries code<br />
    {/if}</p>
    
    <p>But going in the opposite doesn't work (of course)<br />
    EX:</p>
    
    <p>{if reverse_related_entries}</p><h2>Related Entries</h2>
    <p>*** related entries code<br />
    {/if}

  • #2 / Jul 02, 2007 11:35am

    Ryan M.

    1511 posts

    You can use Mark Huot’s Multiple Relation extension. (I just posted this from my iPhone…sort of geeked about that…)

  • #3 / Jul 02, 2007 4:43pm

    PXLated

    1800 posts

    Ryan + iPhone = Showoff 😉
    Just envious!

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

ExpressionEngine News!

#eecms, #events, #releases