Bug #98650
closedCan't extend felogin template TYPO3 11.5.17 PHP 8.1
0%
Description
Hello,
I'm using TYPO3 11.5.17 with PHP 8.1
I have been trying to extend the felogin template so i add my custom modifications. This is the typoscript that i added for example :
In the template object browser it is well taken into account but the EXT:felogin template is still used (my modifications in FE don't appear)
I have tried many things but i can't seem to overwrite the configuration for these root paths.
Let me know if i am doing something wrong. Thanks !
Files
Updated by Ralph Brugger over 1 year ago
Maybe try like this:
plugin.tx_felogin_login { view { templateRootPaths > templateRootPaths { 0 = EXT:felogin/Resources/Private/Templates/ 10 = templates/extensions/felogin/Templates/ } partialRootPath > partialRootPaths { 10 = EXT:felogin/Resources/Private/Partials/ 30 = templates/extensions/felogin/Partials/ } } }
Updated by Torben Hansen over 1 year ago
- Status changed from New to Closed
Make sure, that you use plugin.tx_felogin_login.view.templateRootPath
in TypoScript constants and not in TypoScript setup. Then the template override works as expected with the default TypoScript from the extension.
Since this is no bug in TYPO3 core, I'm closing this issue now. If you still have problems to override the templates, please post your question on TYPO3 slack platform or Stackoverflow.