[TYPO3-dev] Typo3 6.2 Extension Constants are not replaced

Wolfgang Klinger wk at plan2.net
Sun Jun 15 11:28:41 CEST 2014


*hiya*

On 15 Jun 2014, at 10:53, Stefan Kruse <besucher80 at gmx.de> wrote:

> hm, i dont understand that. When i put a ext_typoscript_setup.txt in extension root folder the constants are replaced and used. 
> But when i put a constants.txt file in the Configuration/TypoScript folder and include it with \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile it doesnt work. In my constants.txt i include a typoscript file with <INCLUDE_TYPOSCRIPT: source="FILE:EXT:tl24_basepackage/Resources/Private/TypoScript/constants.ts>. And in this file are all my constants.
> 
> But why they are not used and replaced? In Typo3 6.1 everything works well.


and you’re sure you included the static template in your typoscript template record?
These files (setup.txt, constants.txt) aren’t included automagically!


kind regards
Wolfgang




More information about the TYPO3-dev mailing list