[TYPO3-core] RFC: #9149: Additional Stylesheets in template.php

Stanislas Rolland typo3 at sjbr.ca
Wed Nov 5 19:03:08 CET 2008


Hi Steffen,
> REMINDER
> 
> Steffen Kamper schrieb:
>> Hi,
>>
>> here is an advanced solution. Basically it's a patch Benni sent me and 
>> i overworked and reviewed.
>>
>> It introduces
>> * stylesheets-array
>> * initialize stylesheets-array with stylesheet and stylesheet2
>>
>> It set following to depecated (will be removed in version 4.5)
>> * inDocStyles (use inDocStylesArray instead)
>> * styleSheetFile (will be $stylesheets['stylesheet'])
>> * styleSheetFile2 (will be $stylesheets['stylesheet2'])
>> * styleSheetFile_post (will be $stylesheets['stylesheet_post'])
>> * backGroundImage (will be $inDocStylesArray['backgroundImage'])
>> * inDocStyles_TBEstyle (will be $inDocStylesArray['TBEstyle'])
>>
>> I think this is a more general solution abd easy to use, allows 
>> stylesheet-file and inline style-addition in modules and can be 
>> overridden by skin extension.
>>
Sorry, I think I did some partly duplicate work on this subject.
See RFC #9613 which was committed. It added a new array to template.php 
and a new method to both template.php and t3lib_tceforms for appending a 
stylesheet.

Regards,
Stan


More information about the TYPO3-team-core mailing list