TYPO3 7.6. change typoscript hierarchy via extensi

2019-09-11 02:26发布

问题:

Is there a possibility to change the typoscript template hierarchy via an extension-template? Currently i have defined everything including all typoscript in my extension. This works fine with real_url configuration etc. But everything regarding indexed_search is overwritten by the original extension itself.

Is there a possibility to define the loading/parsing order of extensions?

Thanks!

回答1:

You need to define a dependency to all extensions that should load before your extension. If you do not have a hard dependency, then make sure to list the extension as suggested, because this will make that it is loaded before your extension too.



回答2:

Open the TypoScript record, switch to the tab "Includes", at the bottom you will find the field Static Template Files from TYPO3 Extensions:. Select the value Include before all static templates if root flag is set.

Question is a duplicate of Manage hierarchy / enforce priority of TS-templates