[TYPO3] External files: constants and typoscript

Elmar Hinz elmar.DOT.hinz at team.MINUS.red.DOT.net
Thu Apr 6 06:09:30 CEST 2006

Ron Hall schrieb:
> Two things I need insight on:
> 1) Can you put constants into an external file like you can typoscript. If
> so, how do you access it and include it with your constants?

You can put setup and constants into an extension and include them as
static templates.


if (!defined ('TYPO3_MODE'))    die ('Access denied.');
t3lib_extMgm::addStaticFile('yourext','static','Your name');

> 2) When using typoscript in external files, are there any performance issues
> to consider?

They are cached.



More information about the TYPO3-english mailing list