From b8c625eb2c6387cefd811d35fb606d04f2b43ba7 Mon Sep 17 00:00:00 2001 From: Beatrycze Volk Date: Tue, 8 Oct 2024 18:14:29 +0200 Subject: [PATCH] Fix condition check for user group in TS config --- .../Setup/Extensions/femanager/20-setup-edit.typoscript | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Configuration/TypoScript/Setup/Extensions/femanager/20-setup-edit.typoscript b/Configuration/TypoScript/Setup/Extensions/femanager/20-setup-edit.typoscript index 5d158a7..b1d8bdc 100644 --- a/Configuration/TypoScript/Setup/Extensions/femanager/20-setup-edit.typoscript +++ b/Configuration/TypoScript/Setup/Extensions/femanager/20-setup-edit.typoscript @@ -55,11 +55,13 @@ plugin.tx_femanager { } [end] -[getTSFE().fe_user.user["usergroup"] in [{$femanager.institutionalFeUserGroups}]] +[frontend.user.userGroupIds in [{$femanager.institutionalFeUserGroups}]] plugin.tx_femanager { # override "lastName" label - _LOCAL_LANG.de.tx_femanager_domain_model_user.lastName = Gesetzlicher Vertreter - _LOCAL_LANG.en.tx_femanager_domain_model_user.lastName = Legal representatives + _LOCAL_LANG { + de.tx_femanager_domain_model_user.lastName = Gesetzlicher Vertreter + en.tx_femanager_domain_model_user.lastName = Legal representatives + } settings { showCompanyFields = 1