[TYPO3-core] RFC #13634: ext_typoscript_setup.txt cannot be overriden by static files on the same level

Fabrizio Branca news at _REMOVETHIS_fabrizio-branca.de
Tue Feb 23 16:57:28 CET 2010


This is an SVN patch request.

Type: Bugfix / New feature?

Bugtracker references:
http://bugs.typo3.org/view.php?id=13634

Branches:
trunk, maybe 4_3 aswell?

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
- whether to not include them at all (Never include before this template 
record)
- whether to always include them
- or to include them only if the template is a root template.
In any case (when include) the templates will be included _after_ the 
static ones and the static ones from extensions. This makes it 
impossible to override settings there from within a static template 
(without having a second template on the next level)

Solution:
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).

Notes:
Apply the patch, install an extension with ext_typoscript_setup.txt and 
tehn have a look at the order of templates in the template analyzer with 
the different options.

Bye,

Fabrizio
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 13634 .diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100223/c787c115/attachment.asc>


More information about the TYPO3-team-core mailing list