We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Issue with Relationship field....

How Do I?

Okapi Creative's avatar
Okapi Creative
359 posts
5 years ago
Okapi Creative's avatar Okapi Creative

It works but doesn’t work if the related entry has the same name in the title. Obviously all the url_titles are unique but some of the related entries in the channel share the same title name… it’s these that don’t show.

Is this a bug? Anyway round it?

Also, in these cases, the {if no_results} variable is not working. Does this work in regard to relationship fields?

       
Robin Sowell's avatar
Robin Sowell
13,158 posts
5 years ago
Robin Sowell's avatar Robin Sowell

Hrm, that definitely sounds like a bug if I’m understanding correctly. So even just:

{exp:channel:entries}

  <h3>{title}</h3>

  {relationship_field_boya}

    {relationship_field_boya:title}


  {/relationship_field_boya}

{exp:channel:entries}

So if the related entry has the same title as the one in h3, it doesn’t show up in the list of related entries?

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.