TYPO3 7.6. change typoscript hierarchy via extension-template

走远了吗. 提交于 2019-12-12 04:15:00

问题


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



来源:https://stackoverflow.com/questions/34081857/typo3-7-6-change-typoscript-hierarchy-via-extension-template

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!