[TYPO3-dev] Hook in sys_template parsing

Loek Hilgersom hilgersom at xs4all.nl
Mon Feb 8 10:36:13 CET 2010


Hi Søren,

I thought about the same thing a few months ago during the T3UXW09 but haven't 
had time to look into it. So yes, I'd love to see this implemented, and I would 
even vote for making it a standard feature in the core! No longer manually 
including all templates all the time!

I think it's a good habit to organise the TS templates in logical small parts. 
In some larger projects there can easily be 50 or more template records, so I 
started organising them in different sysfolders.
Recursively including all templates from a certain PID including those from all 
subpages would therefor be great.

I've been storing TS in files for a while, and I like especially the fact that 
you can put it in SVN, but there are other disadvantages that made me switch 
back to the normal database stored templates.

My 2 cents.
Loek


Bernhard Kraft wrote:
> 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