[TYPO3] CSS files dynamically created and included

Christian Lerrahn (Cerebrum) christian.lerrahn at cerebrum.com.au
Thu Oct 4 09:11:50 CEST 2007


Hi,
I want to create a CSS file and dynamically include it with a <link> tag
in my extension. The CSS file is created from a template and therefore
has to be created on the fly. I would therefore probably just write it
to typo3temp/. However, I want to make sure that I use the right kind
of TS and API functions. What should I use to write to typo3temp/? How
should I include the CSS properly? I have to be able to set the id of
the link tag because I need to be able to disable the stylesheet in JS
later.

Any hints would be very much appreciated. :)

Cheers,
Christian


More information about the TYPO3-english mailing list