Im Beispiel-Setup der Extension habe ich es jetzt gefunden:

plugin.tx_srfeuserregister_pi1 {
    edit {
        fields := removeFromList(username,first_name, date_of_birth)
    }
}

Vielleicht sucht ja mal irgendwann noch jemand nach der Lösung.

Viele Grüße,

Dirk

Am 12.07.2015 um 20:57 schrieb DirkHo:
Hallo zusammen,

ich habe die Extension sr_feuser_register im Einsatz und möchte im
"Profil bearbeiten" Dialog nur einen kleinen Teil der
Registrierungsfelder anbieten. Und zwar solche, die sich aus meiner
Sicht ändern können.

Doch anstatt nur diese paar Felder anzuzeigen werden alle (die "defauls"
aus formFields) angezeigt.

Hierzu verwende ich folgendes TypoScript:

plugin.tx_srfeuserregister_pi1.enableAdminReview = 1
plugin.tx_srfeuserregister_pi1.enableAutoLoginOnConfirmation = 1
plugin.tx_srfeuserregister_pi1.passwordAtLeast = 8
plugin.tx_srfeuserregister_pi1.usernameAtLeast = 3
plugin.tx_srfeuserregister_pi1.dateFormat = d.m.Y
plugin.tx_srfeuserregister_pi1.dateSplit = \.
plugin.tx_srfeuserregister_pi1.confirmPID = 143
plugin.tx_srfeuserregister_pi1.editPID = 142
plugin.tx_srfeuserregister_pi1.registerPID = 141
plugin.tx_srfeuserregister_pi1.confirmInvitationPID = 0
plugin.tx_srfeuserregister_pi1.linkToPID = 0
plugin.tx_srfeuserregister_pi1.loginPID = 0
plugin.tx_srfeuserregister_pi1.pid = 140
plugin.tx_srfeuserregister_pi1.userGroupUponRegistration = 6
plugin.tx_srfeuserregister_pi1.userGroupAfterConfirmation = 7
plugin.tx_srfeuserregister_pi1.formFields = username, password,
first_name, last_name, date_of_birth, email, membershipnumber
plugin.tx_srfeuserregister_pi1.create = 1
plugin.tx_srfeuserregister_pi1.create.preview = 1
plugin.tx_srfeuserregister_pi1.create.fields = username, password,
first_name, last_name, date_of_birth, email, membershipnumber
plugin.tx_srfeuserregister_pi1.create.required = username, password,
first_name, last_name, date_of_birth, email, membershipnumber
plugin.tx_srfeuserregister_pi1.create.evalValues {
     email = uniqueLocal, email
     # Username needs to be unique
     username = uniqueLocal
     membershipnumber = uniqueLocal
}
plugin.tx_srfeuserregister_pi1.edit = 1
plugin.tx_srfeuserregister_pi1.edit.preview = 1
plugin.tx_srfeuserregister_pi1.edit.fields = password, last_name, email
plugin.tx_srfeuserregister_pi1.edit.required = password, last_name, email
plugin.tx_srfeuserregister_pi1.edit.evalValues {
     email = uniqueLocal, email
     # Username needs to be unique
     username = uniqueLocal
}
# DU als Anrede statt SIE
plugin.tx_srfeuserregister_pi1.salutation = informal
plugin.tx_srfeuserregister_pi1.enableAdminNotifyOnUpdate = 1

plugin.tx_srfeuserregister_pi1.file.templateFile =
fileadmin/registrierung.html

Zu dem "edit" und "create" key finde ich dummerweise gar keine Hinweise
im "Extension Manual", dafür aber in diversen Foren-Einträgen,..

Vielen Dank und viele Grüße,

Dirk

_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Reply via email to