[TYPO3-core] RFC: #10320: Feature: Split css styled content templates in version templates to get rid of the compat version checks

Susanne Moog typo3 at susannemoog.de
Sun Feb 15 15:39:34 CET 2009


Hi!

Dmitry Dulepov schrieb:
> Hi!
> 
> Susanne Moog wrote:
>> Branches:
>> trunk
>>
>> Type:
>> Feature
>>
>> BT reference:
>> http://bugs.typo3.org/view.php?id=10320
>>
>> Description:
>> At the moment the css_styled_content ts-template is one large (and
>> somewhat chaotic) piece of TS that renders elements different depending
>> on the compat version condition.
>>
>> For faster rendering and less chaotic code it would be nice to have
>> different templates for each TYPO3 version. Attached patch splits up
>> css_styled_content and gets rid of the compat version checks. (See also
>> discussion on the content rendering list for further information)
> 
> I agree to the reasoning but I do not fully like the way it is implemented. Upgrading to trunk immediately breaks web sites that needs compatibility mode.
> 
> The solution should either use update wizard to automatically insert necessary TS to existing TSes or to use TS includes in the main TS file.
> 

Attached is a new version that uses the update wizard to perform the
necessary changes.

@Steffen: Does it apply for you now?


Thanks for looking,

Susanne
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 10320_split_css_styled_content_v3.patch
Type: text/x-diff
Size: 244392 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090215/4c43bbe1/attachment-0001.patch 


More information about the TYPO3-team-core mailing list