Zum Inhalt springen

if abfrage für eingeloggte gruppen

Erstellt am 11. Oktober 2006 · 2 Antworten · letzte Antwort am 11. Oktober 2006

Tags: Frontend-Benutzer, Frage

NickD ·

ich möchte gern, je nach eingeloggter benutzerat mein meine profilbearbeitung anderst aufbauen.
ich dachte eigentlich, das es folgend geht:

[usergroup = 1]
plugin.tx_srfeuserregister_pi1.pid = 4
plugin.tx_srfeuserregister_pi1.requiredFields = username, password
plugin.tx_srfeuserregister_pi1.siteName = iPark-Media
plugin.tx_srfeuserregister_pi1.file.templateFile = fileadmin/tx_srfeuserregister_pi1_css_tmpl.html
plugin.tx_srfeuserregister_pi1.userGroupUponRegistration = 1
plugin.tx_srfeuserregister_pi1.userGroupAfterConfirmation = 1
plugin.tx_srfeuserregister_pi1.userGroupAfterAcceptation = 1
[else]
plugin.tx_srfeuserregister_pi1.pid = 4
plugin.tx_srfeuserregister_pi1.formFields = username, password
plugin.tx_srfeuserregister_pi1.requiredFields = username, password
plugin.tx_srfeuserregister_pi1.siteName = iPark-Media
plugin.tx_srfeuserregister_pi1.file.templateFile = fileadmin/tx_srfeuserregister_pi1_css_tmpl.html
plugin.tx_srfeuserregister_pi1.userGroupUponRegistration = 1
plugin.tx_srfeuserregister_pi1.userGroupAfterConfirmation = 1
plugin.tx_srfeuserregister_pi1.userGroupAfterAcceptation = 1
[global]

was mache ich falsch?

just2b ·

conditions funktionieren nur im Setup, nicht in den Constants und nicht innerhalb irgendwelcher {}

es reicht eigentlich wenn du die Dinge vom else-Zweig voran stellst, ohne conditions, dann wird auch nur überschrieben wenn die usergroup=1 greift

georg