Embed online advent calendar into any website.

Start now!

Fluid conditions for frontend user groups

Use Fluid conditions (see below) to provide different functions or contents in fluid/HTML depending on the frontend usergroup:

<f:variable name="userGroup" value="Basis" />
<f:for each="{bookingObject.frontendUser.usergroup}" as ="group">
    <f:if condition="{group.title} == 'Premium'">
        <f:variable name="userGroup" value="Premium" />
    <f:if condition="{group.title} == 'Premium Plus'">
        <f:variable name="userGroup" value="Premium Plus" />

<!-- Alternative -->
<f:security.ifHasRole role="1">
   This is being shown in case the current FE user belongs to a FE usergroup (aka role) with the uid "1"