[Typo3] HOWTO: conditional loading of CSS-files for extensions
tapio
tapio.markula at dnainternet.net
Tue Aug 16 21:40:00 CEST 2005
> # include Stylesheets
> page.headerData {
> # Common Stylesheet
> 10 = TEXT
> 10.value = <link rel="stylesheet" type="text/css" href="/fileadmin/template/main/style.css" />
> # IE-Workaround Stylesheet
> 20 = TEXT
> 20.value (
> <!-- IE and standards... It seems impossible. -->
> <!--[if lt IE 7]>
> <link rel="stylesheet" type="text/css" href="/fileadmin/template/main/iestyle.css" />
> <![endif]-->
> )
> # CHC-Forum Stylesheet
> 30 = TEXT
> 30 {
> value = <link rel="stylesheet" type="text/css" href="/fileadmin/template/forum/style.css" />
> if.isInList = chc_forum_pi1
> if.value.cObject < temp.ctypes
> }
> # Indexed Search Stylesheet
> 40 = TEXT
> 40 {
> value = <link rel="stylesheet" type="text/css" href="/fileadmin/template/search/style.css" />
> if.isInList = indexed_search
> if.value.cObject < temp.ctypes
> }
> # danewslettersubscription Stylesheet
> 50 = TEXT
> 50 {
> value = <link rel="stylesheet" type="text/css" href="/fileadmin/template/newsletter/style.css" />
> if.isInList = da_newsletter_subscription_pi1
> if.value.cObject < temp.ctypes
> }
> }
> # disable Header-CSS
> plugin.tx_chcforum_pi1._CSS_DEFAULT_STYLE >
> plugin.tx_indexedsearch._CSS_DEFAULT_STYLE >
> plugin.tx_danewslettersubscription_pi1._CSS_DEFAULT_STYLE >
Have you tried css_select plugin? (I don't remember the corret name)
>
> Yours
>
> Matthias
>
> _________________________________________________________________________
> Mit der Gruppen-SMS von WEB.DE FreeMail können Sie eine SMS an alle
> Freunde gleichzeitig schicken: http://freemail.web.de/features/?mc=021179
>
>
>
More information about the TYPO3-english
mailing list