We are using the most recent version of User and have added a custom member field with an id of “people-groups”
We would like to control how content is displayed in our expression engine template based on this field.
What is the correct way to call a custom member field and use it as a conditional variable within a template?
This is the code currently not working:
{if logged_in_people-groups == 'Amasai"}
<li class="{switch="||end"}">
<h4>{title} <a href="#">i</a></h4>
<p> <div class="profile"><br />
{about_staff_title}<br />
</div><br />
{about_image}<br />
</li><br />
{/if}Moved to CodeShare Corner by Moderator