Loading...
Navigation überspringen
Bitte beachte, dass sich diese Dokumentation auf die neuste Version dieser Erweiterung bezieht. Wenn eine ältere Version eingesetzt wird, kann diese abweichen. Die jeweils passende Dokumentation befindet sich im Dokumentation-Verzeichnis der Erweiterung.

Fluid-Conditions für Frontend-Benutzergruppe

Um Frontend-Benutzergruppen unterschiedliche Funktionen oder Inhalte im Fluid/HTML zu bieten, kannst Du folgende Fluid-Conditions nutzen:

<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>

Kontaktanfrage

Du kannst uns jederzeit kontaktieren

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
6___________9OG______
3_X____7____A_____GZM
SE3___O64___4LQ______
__F____N____I_M___SZB
__B_________FRE______