3 votes

Relationship field entries total count

In addition to Bhashkar Yadav's answer, this worked successfully for me: {exp:channel:entries channel='channel_xyz' status='not closed'} {if relationship_field:total_results > 0} ...do ...
Chris Kempen's user avatar
3 votes
Accepted

Relationship Field Conditional Not Working

Although it is technically less efficient, you should try embedding it to render as a tag in the conditional like so: {if '{featured_movie:video_id}' != ''} Try that. As in the docs, if it isn't ...
jrothafer's user avatar
  • 5,900
3 votes
Accepted

Build a Relationship

Since the Professor is the one with the relationship field then Professor > University is a Parent > Child relationship. So if you're in a University (Child) entry you need to use the parents tag for ...
Craig Duarte's user avatar
3 votes

Stash and Multiple Grid Fields Not Populating

Let me show you how the parser will parse that code before Stash tries to capture it as a list. I'll assume your relationship field only allows you to select a single person: {!-- first grid field --}...
Mark Croxton's user avatar
  • 5,234
3 votes
Accepted

Dynamic URL Based on Relationships

To answer this you need to think about what you want to have happen when EE sees a URL - only with this clear can you work out what the right approach would be. So with your example, it sounds like ...
JCOGS Design's user avatar
  • 3,587
2 votes

Listing grid fields as a relationship choice

I don't think you'll be able to solve it this way. The intent of relationships is to relate Channel Entries together, not relate different data points in a specific entry to another entry. I would ...
jrothafer's user avatar
  • 5,900
2 votes
Accepted

EE3 Relationships VS Playa

I haven't used the latest Playa but the with relationships​ being native it will stop painful upgrades to the CMS whenever you next upgrade - it's almost always better to rely on core modules then to ...
stuartmcd69's user avatar
  • 3,163
2 votes
Accepted

Children of Parent to Parent Relationship

You need another tag pair, as each tag pair loops through only that one relationship. You need to loop through another set of relationships within each relationship. {rel_partner_teams} {...
Derek Hogue's user avatar
  • 17.4k
2 votes
Accepted

Querying for a relationship field

https://docs.expressionengine.com/latest/fieldtypes/relationships.html#accessing-children To access the child entry to your Servers channel, just loop over the field like so: {exp:channel:entries ...
jrothafer's user avatar
  • 5,900
1 vote

How do I display Relationship results from Low Search?

This was due to global setting being disabled. Filters can be enabled/disabled within the plugin's settings. One checkbox later and it works! Thanks for the fast support Low.
Matt Kinberg's user avatar
1 vote
Accepted

Datagrab import, relationshipfield inside grid

This is one that really you should direct to the author of Datagrab... it is quite possible though that the add-on does not support the importing of relationships within grids. The datagrab web site ...
JCOGS Design's user avatar
  • 3,587
1 vote
Accepted

How to make a drop-down field use categories?

In EE5 there is an easy solution: create a channel called "Genres" and put your categories into a field in that channel, then you can tell EE to populate your Select field using the values from that ...
JCOGS Design's user avatar
  • 3,587
1 vote

Can I reference a relationship to a relationship?

It looks like I need a tag loop to do this. e.g., this doesn't work: {event:contact:first_name} This works: {event}{event:contact:first_name}{/event}
jphansen's user avatar
  • 627
1 vote

relating testimonials to multiple products with relationship field

Testimonials would be the parent channel Products are "children". Your syntax looks ok, are you using any custom statuses in your Products channel? If so try adding a statuses parameter to the ...
Bluedreamer's user avatar
  • 1,577
1 vote
Accepted

How can I get "total_results" number of entries filtered using the parents tag?

I'm wondering if it's a bug. As your results total is 8, are there actually 8 parent entries across channels/entries for this particular entry? Try this code, should pull in all parent titles: {...
Bluedreamer's user avatar
  • 1,577
1 vote

Next / Prev Linking Of Entries in Relationship Field

I don't think you need an embed - have you tried the siblings tags? https://docs.expressionengine.com/latest/fieldtypes/relationships.html#accessing-siblings Someone has posted a potential solution ...
James Smith's user avatar
  • 4,885
1 vote

How can I list channel entries with same relationship to another channel?

I'm pretty sure that this example pulled right from the relationships docs will work for you: {exp:channel:entries channel="hotels"} {hotel_destination} {hotel_destination:siblings field="...
Derek Hogue's user avatar
  • 17.4k
1 vote

How is the ExpressionEngine user guide documentation managed? By categories or channels with relationship fields to the child pages?

Last I heard (some years ago), it was all handled via Sphinx: http://www.sphinx-doc.org/ No idea if that's still true though.
James Smith's user avatar
  • 4,885
1 vote

How to relate 2 channels / parent relationship fields HELP

All you should need is this. Assuming "parents" is the name of the relationship field in the Clinic channel. ref https://docs.expressionengine.com/latest/fieldtypes/relationships.html#accessing-...
Jim Wyse's user avatar
  • 1,987
1 vote

How to remove a relationship field with php

You can use external entries plugin like as below: {exp:external_entries:delete table="exp_relationships" search:parent_id="{segment_1}" AND search:child_id="{segment_2}" debug="no"} Plugin is not ...
Jainil's user avatar
  • 626
1 vote

Show different content based on url segement

Your syntax is accurate; products/product-detail should be embedded if segment_3 has a value. Perhaps you need to pass data into the embedded template? Something like: {embed="products/product-...
Will Diaz's user avatar
1 vote

Playa: Complex, nested and filtered

You could use {exp:playa:coparents} to list other parent entries (trips) that share the same child (outpost). Then within that loop, list the activity associated with each trip (I'm assuming you have ...
Mark Croxton's user avatar
  • 5,234
1 vote

Parent relationship in grid field type

I made a quick simple plugin that works around this issue. The plugin returns a pipe-separated list of entry ids which can then be used in a channel entries tag's entry_id or fixed_order parameters. ...
James Smith's user avatar
  • 4,885
1 vote

Relationship field for navigation menu

Many URLs with summaries in <UL> <LI> structure, No doubt channel entry is needed. You can use both Relationships and GRID to accomplish the megamenu needs. (As there are several plugins ...
Mufi - Amici Infotech's user avatar
1 vote

Member Relationships to single Entry

Another approach you might want to consider is using the VMG Chosen Member add-on. Chosen Member gives you the ability to assign members to channel entries without having to turn those member details ...
JCOGS Design's user avatar
  • 3,587
1 vote
Accepted

How do I include a Relationship field inside a Grid?

I recall if you're inside a relationship inside a matrix you revert to standard tags, so this <p>{content:links_to}{content:links_to:title}{/content:links_to}</p> Changed to this <p&...
stuartmcd69's user avatar
  • 3,163
1 vote

Representing relationships between members of an EE site?

Gavin, I would recommend that you use Zoo Visitor to accomplish. Once installed it will convert your existing members to entries in a channel where you can easily add a relationship or any other ...
CreateSean's user avatar
  • 4,757
1 vote
Accepted

How to show category of entry within relationship field

I guess you should try something like this: {relationship_field} {relationship_field:categories} {category_name} {/relationship_field:categories} {/relationship_field}
Mufi - Amici Infotech's user avatar
1 vote
Accepted

Get {count} for a Relationships field within a Grid field

Your code is right. You need to pass relationships field with grid prefix like this: {grid_field} {grid_field:relationships_field} {grid_field:relationships_field:count} // incorrectly ...
Mufi - Amici Infotech's user avatar
1 vote
Accepted

How can I make dynamic Grid (or Matrix) fields in the control panel?

It is not. The simplest solution is to have all four columns and simply instruct the content manager to use the appropriate 2nd, 3rd, or 4th column based on the value of the 1st.
Derek Hogue's user avatar
  • 17.4k

Only top scored, non community-wiki answers of a minimum length are eligible