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.

LITTLE QUESTION ABOUT RELATIONSHIP

July 23, 2014 1:39pm

Subscribe [2]
  • #1 / Jul 23, 2014 1:39pm

    bob1983

    2 posts

    i’ve channels organized like that:

    channel1: zone
    es: nord
      text-field: zone-title

    channel2: places
    es: location name
      text-field:: place-title
      relationship-field: select zone

    channel3: villas
    es:villas name
      text-field:: villa-title
      relationship-field: select place

    actually, starting from channel1 ZONE
    i can access to channel2 PLACES by {parent} tag.

    anyone can help me understanding how to access villas channel?
    i need to see all villas in the location associated to the zone channel.

    I need to start by ZONE channel.

    Many thanks guys,
    your help is very appreciated.

     

     

  • #2 / Jul 24, 2014 8:49am

    Boyink!

    5011 posts

    Relationships can be nested - which I assume you have here (zones to locations to villas).  The EE docs provide examples of how to work through the nesting - have you looked at those?

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

ExpressionEngine News!

#eecms, #events, #releases