Bug #78478
closed
Element partial root path is ignored
Added by Thomas Pötzsch about 8 years ago.
Updated over 7 years ago.
Description
I am using sysext:form to create forms. Inside the setup.txt of my own extension, i specified a partial root path:
plugin.tx_form.view.partialRootPaths.10 = EXT:myExtension/Resources/Private/Partials/
. If I use the TypoScript Object Browser inside the Templating tools, I can see the path beeing loaded. However, since I upgraded from TYPO3 8.3.1 to 8.4, the specified partial path is no longer used by TYPO3 to build the form elements.
- Assignee set to Björn Jacob
I fixed the problem. Since TYPO3 8.4, the standard element partial path has a sorting of [10], and you need to extend it by using [20] (e.g. plugin.tx_form.view.partialRootPaths.20 = EXT:myExtension/Resources/Private/Partials/
). If you only overwrite the [10], it wont work.
Please close this ticket,
Thanks in advance
- Status changed from New to Closed
- % Done changed from 0 to 100
Awesome. Thank you for your feedback.
Hi there,
sorry for reviving this ticket but it seems that TYPO3 8.6 is again ignoring the partial root path using the following notation:
plugin.tx_form {
view {
partialRootPaths.20 = fileadmin/template/form/Frontend/Partials/
}
}
Steps to reproduce:
1.) Copy file Field.html
from EXT:form/Resources/Private/Frontend/Partials/Field/Field.html
to your custom location, e.g. fileadmin/template/form/Frontend/Partials/Field/
2.) Make changes in the file you just copied to your custom location.
3.) Check form frontend output if changes are visible in markup (your changes will not be visible in the form output).
Can anyone confirm?
Thanks!
Also available in: Atom
PDF