[Typo3-dev] fetch constants with php

Lannsjo user at macromediaforum.com
Wed Jan 26 13:46:45 CET 2005


How can I fetch constants (with my php extension) defined in my template
constants.
I have a constant named:
path{
   flash = fileadmin/layout/01/flash/
}

In my extension I have tried to use:
$GLOBALS['TSFE']->tmpl->flatSetup['path.flash']
But this doesnt work that well.. is there any other way to fetch my
constants...
/Martin






More information about the TYPO3-dev mailing list