Zum Inhalt springen

sr_email_subscribe tt_address um checkbox erweitern

Erstellt am 13. Januar 2010 · 1 Antwort · letzte Antwort am 13. Januar 2010

Tags: tt_address, Frage

DTPManiac ·

Hallo zusammen,

ich versuche gerade das Anmeldeformular für den Newsletter zu erweitern. Dabei bin ich wie folgt vorgegangen:

  • Feld über Kickstarter zu tt_address hinzugefügt
    sr_email_subscribe Template erweitert (s.u.)
    Constants und Setup erweitert

<!-- ###SUB_INCLUDED_FIELD_tx_cibuttaddressext_privacy_policy_read### -->
        <div>
                <!-- ###SUB_REQUIRED_FIELD_tx_cibuttaddressext_privacy_policy_read### -->
                <div class="validation-failed-parent">
                <!-- ###SUB_REQUIRED_FIELD_tx_cibuttaddressext_privacy_policy_read### -->
                
                <label for="tx-srfeuserregister-pi1-tx_cibuttaddressext_privacy_policy_read">###LABEL_TX_CIBUTTADDRESSEXT_PRIVACY_POLICY_READ### ###REQUIRED_TX_CIBUTTADDRESSEXT_PRIVACY_POLICY_READ###</label>
               ###TCA_INPUT_tx_ttaddressext_privacy_policy_read###
                

                <!-- ###SUB_REQUIRED_FIELD_tx_cibuttaddressext_privacy_policy_read### -->
                <div class="validation-advice" style="display: block; visibility: visible; opacity: 1;">###MISSING_TX_CIBUTTADDRESSEXT_PRIVACY_POLICY_READ###</div>
                </div>
                <!-- ###SUB_REQUIRED_FIELD_tx_cibuttaddressext_privacy_policy_read### -->
        </div>
        <!-- ###SUB_INCLUDED_FIELD_tx_cibuttaddressext_privacy_policy_read### -->

Das Label wird im Frontend schonmal richtig ersetzt.

Constants

formFields = email,first_name,last_name,address,city,zip,mobile,phone,title,company,www,module_sys_dmail_html,module_sys_dmail_category,image,comments,hidden,tx_cibuttaddressext_privacy_policy_read
requiredFields = email,first_name,last_name,tx_cibuttaddressext_privacy_policy_read

Setup

plugin.tx_sremailsubscribe_pi1._LOCAL_LANG.de.tx_cibuttaddressext_privacy_policy_read = Datenschutzbestimmungen akzeptieren
plugin.tx_sremailsubscribe_pi1._LOCAL_LANG.de.missing_tx_cibuttaddressext_privacy_policy_read = Sie müssen die Datenschutzbestimmungen akzeptieren
plugin.tx_sremailsubscribe_pi1._LOCAL_LANG.en.tx_cibuttaddressext_privacy_policy_read = missingRequiredFieldMessage= Accept privacy policy

plugin.tx_sremailsubscribe_pi1.create.evalValues.tx_cibuttaddressext_privacy_policy_read = required

plugin.tx_sremailsubscribe_pi1.parseValues.tx_cibuttaddressext_privacy_policy_read = int

Das Problem ist nun, dass der Marker ###TCA_INPUT_tx_ttaddressext_privacy_policy_read### nicht ersetzt wird. Woran kann das liegen?

Versionen:
sr_email_subscribe 1.2.9
sr_feuser_register 2.5.24
Typo3 4.2.8
tt_address 2.2.1

Viele Grüße
Christoph