hi,
ich wollte bei dmail ein Feld gender (Frau/Mann)
hinzufügen und daher habe ich auf anraten der t3-Mailingliste eine Mini-Extension erstellt und installiert (mit kickstarter - richtig einfach :-). Daher heißt das Feld jetzt nicht mehr tt_address.gender, sondern tt_address.tx_txfnattergenderdmail_gender.
Jetzt werden die gender-Daten korrekt in die DB übernommen, aber dmail ersetzt den SUB_REQUIRED_FIELD-tag in fe_admin_dmailsubscrip.tmpl nicht mehr:
<!--###SUB_REQUIRED_FIELD_tx_txfnattergenderdmail_gender### begin
This is shown only if the form is submitted and the field is configured to be "required" and at the same time not filled in.
The syntax is of the comment 'name' is: SUB_REQUIRED_FIELD_[enter-the-field-name-here]
-->
<font color="red"><strong>Dieses Feld bitte Ausfuellen!</strong></font><br />
<!--###SUB_REQUIRED_FIELD_tx_txfnattergenderdmail_gender### end -->
(erscheint genau so auf der Ausgabeseite; ###SUB_REQUIRED_FIELD_name usw werden ersetzt)
Ich benutze folgenden typoscript-code auf der subscription-Seite:
constants:
plugin.feadmin.dmailsubscription.pid = 5
plugin.feadmin.dmailsubscription.file.templateFile = fileadmin/template/main/fe_admin_dmailsubscrip.tmpl
setup:
plugin.feadmin.dmailsubscription.setfixed {
approve._FIELDLIST = uid,pid
DELETE._FIELDLIST = uid,pid
}
plugin.feadmin.dmailsubscription.edit.fields = name, email, www, company, address, city, zip, phone, fax, module_sys_dmail_category, module_sys_dmail_html, tx_txfnattergenderdmail_gender, hidden
plugin.feadmin.dmailsubscription.create.fields = name, email, www, company, address, city, zip, phone, fax, email, module_sys_dmail_category, module_sys_dmail_html, tx_txfnattergenderdmail_gender, hidden
plugin.feadmin.dmailsubscription.edit.required = name, email
plugin.feadmin.dmailsubscription.create.required = name, email
Ich habe schon überall "gender" durch "tx_txfnattergenderdmail_gender" ersetzt.
Woran könnte das liegen? Irgendwelche Tipps wie ich das debuggen kann?
Danke,[/b]