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.
<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>
Name | Required | Default | Description |
---|---|---|---|
gid | Required | N/A | Group/event ID to check if the logged in user is a member |
includeChildren | Optional | Check if the user is a member of the specified group or any of its descendants | |
mid | Required | N/A | Media ID to check if Media exist in Group |