Hello,
Does anyone know if its possible to use some kind of elseif statement on a Show If Design Area tag?
For example, I have the following code in my design which is showing content based on a users group:
<MySource_AREA id_name="quick_links" design_area="show_if">
<MySource_SET name="condition" value="in_user_group" />
<MySource_THEN>%globals_asset_contents_raw:386838%</MySource_THEN>
<MySource_ELSE>%globals_asset_contents_raw:363185%</MySource_ELSE>
</MySource_AREA>
What I want to do is add a statement so that if a user isn't a member of the first group but is in a second user group I will then show a different asset, ie:
IF user is in group x show x asset
ELSEIF user is in group y show y asset
ELSE show z asset
Can anyone help?