Walrusking Posted March 1, 2020 Posted March 1, 2020 I am trying to get the group name from the group id but everything I have tried has not worked. I am doing this in the html templates to display all secondary usergroups but I want to exclude some groups from displaying like the Adminitrators and Moderators group
bfarber Posted March 2, 2020 Posted March 2, 2020 {expression="\IPS\Member\Group::load( $groupId )->name"} {expression="\IPS\Member\Group::load( $groupId )->formattedName"} First prints the name, second will use the group prefix/suffix around the name if desired and set up for the group.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.