Bug #70368
closedEXT:form - themeName can not be overwritten by integrator
100%
Description
The FORM element has a property called "themeName".
themeName is a variable part of the whole path to an element partial.
The partial paths to the element are build based on the following rule:
{$plugin.tx_form.view.partialRootPaths}/{$themeName}/@actionName/{$partialPath}.
The default themeName is "Default".
It is possible to define "themeName" in the specific FORM element but it is not possible to overwrite the "themeName" by the integrator with
plugin.tx_form.settings.registeredElements.FORM.themeName = bootstrapPackage
Updated by Gerrit Code Review about 9 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43805
Updated by Björn Jacob about 9 years ago
So testing this is not that difficult but one has to understand what to do/ configure. I'm providing an example. It sets for the specific form a new themeName. When testing one will get an exception because no theme exists with this name. But the process does work.
# this is working themeName = Mytheme enctype = multipart/form-data method = post prefix = tx_form confirmation = 1 postProcessor { 1 = mail 1 { recipientEmail = your@mail.com senderEmail = your@mail.com } } 10 = TEXTLINE 10 { name = surname placeholder = Surname required = 1 label { value = Surname } } 20 = SUBMIT 20 { name = 3 value = Submit form }
Setting the themeName globally does not work, i.e. you won't even get the exception since it's not evaluated.
plugin.tx_form { settings { # this is not working registeredElements.FORM.themeName = Mytheme } }
Updated by Gerrit Code Review about 9 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43805
Updated by Gerrit Code Review about 9 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43805
Updated by Ralf Zimmermann about 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 1300d4640806fffe5884254fbf493e53ab429427.
Updated by Gerrit Code Review about 9 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43896
Updated by Gerrit Code Review about 9 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43896
Updated by Daniel Goerz about 9 years ago
- Status changed from Under Review to Resolved
Applied in changeset 034d2c530245e96f60d296945d6afa672569a41a.
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed