[TYPO3] External files: constants and typoscript
tapio.markula at dnainternet.net
Thu Apr 6 12:19:27 CEST 2006
Elmar Hinz wrote:
> 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');
but what about the old system using ext_typoscript_setup.txt and
- they are automatic used without need to add those lines to ext_tables.php
What is - or is there any - advance using
More information about the TYPO3-english