I’m trying to use Global Variables to help with translated URLs.
{exp:channel:entries channel="{segment_1}_market_banner" dynamic="off" search:market_category="{gv_{segment_1}_{segment_3}}"}Basically I’m storing multiple global variables that have different names but contain the same value. Example {gv_en-US_keyword} and {gv_fr-FR_wordkey} would both contain the same value of KEYWORD
I am then trying to use the outputted KEYWORD in the channel entries search parameter to match that up and only pull in the entries that have KEYWORD selected in their market_category custom field. I have tried this with no luck. I can get it to work by just using the segment but I need the global variables for this method to work completely.
{exp:channel:entries channel="{segment_1}_market_banner" dynamic="off" search:market_category="{segment_3}"}I’ve also tried relationships but can’t use that because I am reusing field groups across multiple channels but can only relate the field group to one channel.
I am open to other methods of execution but thus far, the one I’ve listed is the cleanest method.
All help is greatly appreciated. I’m not sure if this is in the right support category.