[Typo3] link external css style sheet
tapio
tapio.markula at dnainternet.net
Wed Jul 27 19:09:17 CEST 2005
Daniel Doesburg wrote:
> Daniel Doesburg schreef:
>
>> Vlatko Šurlan schreef:
>>
>>> That smells more like the right thing to me. How do I tell typo to
>>> insert link tag pointing to my css? Or do I need to remove the part
>>> that tells automaketemplate to work on the header and just put it in
>>> the template?
>>
>>
>>
>> Add this to your TS-template, above or below the part that starts with
>> # Main TEMPLATE cObject for the BODY
>>
>> # Main TEMPLATE cObject for the HEAD
>> temp.head = TEMPLATE
>> temp.head {
>> # Feeding the content from the Auto-parser to the TEMPLATE cObject:
>> template =< plugin.tx_automaketemplate_pi1
>> # Select only the content between the <head>-tags
>> workOnSubpart = DOCUMENT_HEADER
>> }
>>
>> Daniel
>
>
> Oeps,
>
> And add this at the "PAGE" part:
> page.headerData.10 < temp.head
>
> Daniel
or directly for example
page.headerData.21.value = <link
href="/fileadmin/template/main/css/colorTheme.css" rel="stylesheet"
media="screen,projection,handheld" type="text/css" />
More information about the TYPO3-english
mailing list