I currently want to do a check where if someone is in a certain secondary group then it will change their name on their profile. So far I have something like this.
{{if $member->member_group_id === 75}}
<h1class='ipsType_reset'>
{$member->name} example example
</h1>
{{else}}
<h1class='ipsType_reset'>
{$member->name}
</h1>
{{endif}}
but I believe the {{if $member->member_group_id === 75}}only checks primary groups. is it possible to run a check of an ID of a secondary group.
Question
Cado
Hello,
I currently want to do a check where if someone is in a certain secondary group then it will change their name on their profile. So far I have something like this.
but I believe the {{if $member->member_group_id === 75}} only checks primary groups. is it possible to run a check of an ID of a secondary group.
Thanks,
Cado
Link to comment
Share on other sites
5 answers to this question
Recommended Posts