i am clearly missing something, but i can't figure out what. I am developing site on Typo3 CMS v7.6.10. I included my extension configuration in TS template.
defined('TYPO3_MODE') or die();
// Add pageTSconfig
'/**/', // my extension
'My special config'
layout.altLabels.0 = Normal
layout.altLabels.1 = Startpage
layout.altLabels.2 = Landing page
I am not sure if you did this but
"only" registers a PageTSConfig file for the selection in the page property. To include it you have to go to the properties of a page in the resources tab and select your file there (see screenshot). It is then active for this page and all subpages.
As an alternative you could use
ExtensionManagementUtility::addPageTSConfig() instead. If you pass the
<INCLUDE_TYPOSCRIPT string to that function your PageTSConfig will be loaded on every page.