Company | Newzulu Platform | Developer

Developer Template Documentation v4.12.5.106

fm:IfInGroup


This component will display its contents if the logged in user is a member of the specified group/event. If the user is not a member then the contents of the false child component will be rendered.

Example

<fm:IfInGroup gid="123"> You're already a member! <fm:Else> <a href="/groupDetails/123">Click here for more details about the group before you become a member.</a> </fm:Else> </fm:IfInGroup>

Supported Attributes

NameRequiredDefaultDescription
gidRequiredN/AGroup/event ID to check if the logged in user is a member
includeChildrenOptionalCheck if the user is a member of the specified group or any of its descendants
uidOptionalN/AUser ID you want to confirm is in a group, if not provided will default to logged in user

See also

<< 3.2.31 fm:IfImage 3.2.33 fm:IfMediaInGroup >>