[TYPO3-core] RFC #13634: ext_typoscript_setup.txt cannot be overriden by static files on the same level
Stefan Geith
typo3dev2010.nospam1 at geithware.de
Sat Jun 26 10:00:34 CEST 2010
Hi Fabrizio,
Fabrizio Branca schrieb:
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=13634
>
> Problem:
> Some extension still deliver ext_typoscript_setup.txt (amongst them some
> popular ones like templavoila and new ones like felogin...). In the
> sys_template record you can choose
> [...]
> Offer a new option that includes those templates if the Root-Flag is
> set, but includes them before all other templates (so you can overwrite
> them).
I think, there should be an option in ext_emconf.php, to let each plugin
decide, if it wants to have ext_typoscript_setup.txt included before or
after static templates.
It could break existing plugins, if ext_typoscript_setup.txt is include
before static templates, if this is not provided by the plugin.
E.g.: some of my plugins set a special constant in their static
templates. If none of these static templates is loaded (special constant
is not set) then I include some default-template in
ext_typoscript_setup.txt by TS conditions.
It the order is now inverted (because it can be set only globally),
this would give some unwanted side-effects.
Maybe there are other ways to inlcude TS before static templates
(maybe TS in a special FIle ext_ts_default_setup.txt), but
I think this should be defined somehow in the plugin.
What do you think ?
/Stefan
PS: 5 days until T3DD10 :)
More information about the TYPO3-team-core
mailing list