[TYPO3-english] Remove all CSS from other extensions

Søren Malling soren.malling at gmail.com
Thu Sep 23 14:02:06 CEST 2010


Hi,

If all extensions started using page.includeCSS.[key] it would be
quite simple, by simple resetting the page.includeCSS array.

But as some uses page.headerData and others includes it by
plugin.tx_something_DEFAULT_CSS_STYLE i don't really see a easy way
out.

This is just a thought, and I have no idea if it's possible what so ever:

Remove all <link> and <style> tags from the HTML about to be rendered,
by some hook. That will take some regexp and maybe there is another
way much more simple?

Regards,

Søren Malling

Twitter: twitter.com/sorenmalling



On Thu, Sep 23, 2010 at 11:25 AM, Søren Madsen <sma at science.au.dk> wrote:
> On 17/09/2010, at 08.11, Søren Madsen wrote:
>
>> I'm aware that I can remove CSS from extensions by TS with the following :
>>
>> plugin {
>>        tx_cssstyledcontent._CSS_DEFAULT_STYLE >
>>        tx_indexedsearch_pi1._CSS_DEFAULT_STYLE >
>>       [etc...]
>>        }
>>
>> ... but I'm working in a bigger environment, where many new extensions may get installed without me knowing about it, and not wanting to maintain it.
>>
>> Is there any way to completely rid a page of CSS – from existing and future extensions?
>
> Can anybody help me with this, please?
>
> If the answer is "not possible", then that's fine - and I'll just need another strategy for this.
>
> Regards,
> Søren Madsen
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>


More information about the TYPO3-english mailing list