Feature #32132
closedMaking subjectField configurable with TS
100%
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
Updated by Florian Scholz almost 13 years ago
- File patch.diff patch.diff added
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.
Updated by Gerrit Code Review almost 13 years ago
- Status changed from New to Under Review
Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/8888
Updated by Gerrit Code Review almost 13 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/8888
Updated by Florian Scholz almost 13 years ago
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
Updated by Philipp Gampe almost 13 years ago
@Florian Kuss Would you mind to add the documentation for this?
The right place would be: typo3/sysext/form/Documentation/Manual/en/manual.sxw
Updated by Florian Scholz almost 13 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 363ed32062c5379459ba9b63f582b6e74d7f24d7.