Skip to main navigation Skip to main content Skip to page footer

Define different configurations depending on frontend user group

If you need to set different configurations depending on the frontend user group in your frontend modules, use TypoScript conditions:

[like(","~frontend.user.userGroupList~",", "*,1,*")]
    plugin.tx_bookingspro.settings.lists.bookingObject.maxItems = 1
[END]

[like(","~frontend.user.userGroupList~",", "*,2,*")]
    plugin.tx_bookingspro.settings.lists.bookingObject.maxItems = 3
[END]

[like(","~frontend.user.userGroupList~",", "*,3,*")]
    plugin.tx_bookingspro.settings.lists.bookingObject.maxItems = 5
[END]
Shopping basket 0 Products

The Demo is build with*

EXT:bootstrap_package for site-package aka theme build on Bootsrap 5.

EXT:modules for user plugins like user-profile, registration, user-addresses, and more.

EXT:shop for the whole shop functionality.

EXT:questions for the FAQ page and FAQs attached in the product detail views.

EXT:glossaries for the glossaries and definitions.

EXT:fluid_fpdf for generating invoices, delivery-notes, product-sheets and more.

EXT:parsedown_extra for rendering the extension documentations from markdown to HTML.

* There are only build-in settings made using site-settings & TypoScript – no templates or other files were changed or overridden!