[TYPO3-dev] Hook in sys_template parsing

Bernhard Kraft kraftb at think-open.at
Sun Feb 7 18:59:43 CET 2010


Søren Malling wrote:

> I'm having a sysfolder holding all my sys_templates and therefore i
> thought of I way to automaticly include all template from a specific
> pid in (example) the root template.

You could put all your sys_templates into files instead and include them 
using the "<INCLUDE_TYPOSCRIPTE file=.." syntax.

Thus you would have outsourced your TypoScript to files, making them 
accessible to SVN or similar software. And if you want to include all of 
them by default, you could simply add the INCLUDE_TYPOSCRIPT setups by 
using "t3lib_extMgm::addTypoScriptSetup" ...


grüsse,
Bernhard




More information about the TYPO3-dev mailing list