[TYPO3] TS Constant access from extension

Xavier Perseguers typo3 at perseguers.ch
Thu Jun 12 10:25:49 CEST 2008


Hi,

How may I access a constant defined in my page's template from within my 
own extension ?

I found it in $GLOBALS['TSFE']->tmpl->flatSetup['constant-key'] but it 
seems not to be reliable as it is not always there :-/

Regards

-- 
Xavier Perseguers
http://xavier.perseguers.ch/en


More information about the TYPO3-english mailing list