Search code examples
typo3typo3-9.x

TYPO3 Static template not being included in Template hierarchy?


I have a site package that I need to include in Static Templates.

It has been added as the last template under Includes > Selected Items, but if I then go to the Template Analyzer it is not listed.

In another offline installation of TYPO3 I use to test on, the static template is added and working perfectly. What could be going wrong here?


Solution

  • For Includes > Selected Items you are registering a label-value-pair for the select field only. To be shown, it is only necessary that your extension is installed/active. The content of this registration is not checked.

    In contrast to this, the specified file is read during parsing. I.e. errors in the pathname take effect here. So here it is crucial that the registered path matches the actual path of the file - if necessary, including the consideration of the upper and lower case (or camelCase).