Feature #32132
closed
Making subjectField configurable with TS
Added by Josef F. Glatz (Old User) almost 13 years ago.
Updated about 6 years ago.
Description
It would be nice, if we have more possibilities as TYPO3 integrator to customize subject and making the field dynamic.
E.g. "Mail from ###subjectField###"
regards
jousch
Files
Not sure where to put this patch, but I guess all we need here is adding subjectField to setSubject in tx_form_System_Postprocessor_Mail.
Attaching my very first patch to Typo3. Any additional hints are welcome :-)
Edit: I've figured out that I need to push my bits to review.typo3.org. Did that some minutes ago.
- Status changed from New to Under Review
Philipp asked for a sample form TS for testing. I'm attaching my slightly modified TS, which was originally generated by the FormWizard.
The new thing is actually:
subjectField = subject
which can now refer to the input field "subject":
10 = TEXTLINE
10 {
name = subject
label {
value = Betreff
}
}
Before this patch you were only able to set "subject" which expects a string and not a field reference:
subject = Message via contact form on example.org
@Florian Kuss Would you mind to add the documentation for this?
The right place would be: typo3/sysext/form/Documentation/Manual/en/manual.sxw
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF