Hello, I realy hope you could help me. I use EE3.3.0. I want to display results return by Simple Search. Many entries has relationship field. On one hand I read on doc:
Nearly all of the Channel Entries Tag Variables are available for the search results page …
..not details about the “nearly”… on the other the Relationship fields don’t parse.
{exp:search:search_results}
{if channel_short_name=="illustrations"}
{url_title_path="explorer/illustration"}
{ill_author}
{ill_file:small}
{ill_file:medium}
{ill_com:title}
{if:elseif channel_short_name=="articles"}
{url_title_path="explorer/article"}
{art_txt_fr}
{art_com:title}
{/if}
{/exp:search:search_results}
Only the relationship field don’t parse. No error with the field name a test like that works :
{exp:channel:entries}
{if channel_short_name=="illustrations"}
{url_title_path="explorer/illustration"}
{ill_author}
{ill_file:small}
{ill_file:medium}
{ill_com:title}
{if:elseif channel_short_name=="articles"}
{url_title_path="explorer/article"}
{art_txt_fr}
{art_com:title}
{/if}
{/exp:channel:entries}
Thanks in advance
-Edit 08.07.16——————————– Sorry, It was a syntax error in other part of code. Search_results is fully compatible with relationShipField displaying.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.