Loading...
Skip navigation
Please note that this documentation is for the most recent version of this extension. It may not be relevant for older versions. Related documentation can be found in the documentation directory of the extension.

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>
    <f:if condition="{group.title} == 'Premium Plus'">
        <f:variable name="userGroup" value="Premium Plus" />
    </f:if>
</f:for>

<!-- 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"
</f:security.ifHasRole>

Contact request

You can contact us at any time

Stop! Playing in the meantime?
Stop! Playing in the meantime?
Stop! Playing in the meantime?

Stop! Playing in the meantime?

Break the highscore

Press Start
Contact request
Screenreader label
Security question
O6W_________4N2______
R_7____Y____5_C___PZF
FEO___NDL___K_9______
__O____1____K_C___GGO
4DP_________2UX______