Last active
May 8, 2019 08:47
-
-
Save alrnz/93d94ebe26711b0b46ce to your computer and use it in GitHub Desktop.
direct_mail_subscription additional #TypoScript #TYPO3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
plugin.feadmin.dmailsubscription { | |
pid = 425 | |
templateFile = fileadmin/templates/html/dmailsubscription/dmailsubscrip_de.html | |
cObjects { | |
CATLIST = USER | |
CATLIST.userFunc = user_dmailsubscribe->makeCheckboxes | |
CATLIST { | |
templateFile = fileadmin/templates/html/dmailsubscription/dmailsubscrip_de.html | |
pid = 425 | |
hideNonTranslatedCategories = 1 | |
} | |
} | |
cObjects > | |
email.from = [email protected] | |
email.fromName = My name is From | |
email.admin = [email protected] | |
email.field = email | |
// Edit setup | |
edit = 0 | |
edit { | |
fields = email | |
defaultValues.module_sys_dmail_html = 1 | |
required = email | |
evalValues.email = uniqueLocal, email | |
userFunc_afterSave = user_dmailsubscribe->saveRecord | |
} | |
// Create setup | |
create = 1 | |
create { | |
userFunc_afterSave = user_dmailsubscribe->saveRecord | |
preview = 0 | |
# only there fields where updated! | |
fields = email, hidden | |
defaultValues.module_sys_dmail_html = 1 | |
defaultValues.email = | |
required = email | |
noSpecialLoginForm = 1 | |
overrideValues.hidden = 1 | |
evalValues.email = uniqueLocal,email | |
} | |
evalErrors.email.uniqueLocal = Deine <b>E-Mail-Adresse</b> ist bereits registriert. | |
evalErrors.email.email = Bitte gebe eine gültige <b>E-Mail-Adresse</b> an. | |
wrap1.wrap = <h2> | </h2> | |
wrap2.wrap = <div class="notification"> | </div> | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Wichtig: nur die hier angegebenen Felder werden geändert, nur "overrideValues.hidden = 1" klappt nicht!
(Important: only these fields are updated! )
plugin.feadmin.dmailsubscription.create.fields = email, hidden
TYPO3, 6.2 directmail