EEConf 2024 is around the corner! EEConf 2024
I have a members only area that I am setting up on a site. As part of the navigation, I would like parts of navigation to appear for users that are part of a certain role. I have the role of “partner” as “18”. I am using the members “has_role” function to show and hide the navigation. I am adding a pipe to this tag to also have super_admin see the navigation.
{exp:member:has_role role_id="1|18"}
<a href="http://this">partners</a>
{/exp:member:has_role}
Here is the interesting thing. When I login as “super_admin” (1), I see the navigation. When I login as a “partner” (18), I do not see the navigation. When I delete the “1” from the tag, then the “partner” can see the navigation, but of course “super_admin” does not see it. Are pipes not allowed in this tag? Are there other settings that I need to look at?
Thanks for any help!!
Patrick
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.