Company | Newzulu Platform | Developer

Developer Template Documentation v4.12.5.106

fm:IfMediaInGroup


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

Example

<fm:IfMediaInGroup gid="123" mid="456" > Media is in this group <fm:Else> <a href="/groupDetails/123">Click here for more details about the group.</a> </fm:Else> </fm:IfMediaInGroup>

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
midRequiredN/AMedia ID to check if Media exist in Group

See also

<< 3.2.32 fm:IfInGroup 3.2.34 fm:IfIsUser >>