[TYPO3-content-rendering] Divide css_styled_content in multiple templates to rid ourselves of the compat versions
Susanne Moog
typo3 at susannemoog.de
Sun Jan 25 20:20:30 CET 2009
Susanne Moog schrieb:
> Hey hey,
>
> Susanne Moog schrieb:
>> Hi everyone,
>>
>> the current css_styled_content version has a lot of compat version
>> conditions in it.
>
>> 2.) Make a whole template for each version, so it's like:
>> - css_styled_content 4.3
>> - css_styled_content 4.2
>> - css_styled_content 4.1
>> - css_styled_content 4.0
>
> I just finished first version of a divided css_styled_content. Attached
> is the patch. Please try it and tell me what you think of it.
I just encountered a problem with the split patch and I hope you can
help me or have a good idea on how to solve this. ATM plugins add their
TS automagically with the method addPItoST43 (what a name!), this method
somewhere down the road does:
"$TYPO3_CONF_VARS['FE']['defaultTypoScript_'.$type.'.']['cssstyledcontent/static/'].=$content;"
as you can see the folder "static" is hardcoded here, my split uses
different folders for different versions and I am a bit unsure, how to
proceed now.
Do you have an idea?
Hoping for help,
Susanne
More information about the TYPO3-project-content-rendering
mailing list