[TYPO3-english] Mapping Content Element Containers withTypoScript

Dayle Rees dre at llgc.org.uk
Tue Oct 12 14:04:10 CEST 2010


On 12/10/10 12:54, JoH asenau wrote:
>>> as you can see this extension template is pulling in a different CSS
>>> file to the main template ( I tried using includeCSS but nothing was
>>> outputted :( )
>>>        
> page.includeCSS will work with array keys like these:
>
> page.includeCSS {
>      your_first_key_here = fileadmin/whatever.css
>      your_second_key_here = fileadmin/something.css
> }
>
> And it will only work as long as you have TYPO3 generate the header.
> So when you disabled the header code via config or page.config, includeCSS won't work anymore.
>
> HTH
>
> Joey
>
>    
Thanks again Joey, oddly this doesn't work, I have tried :

page.includeCSS {
file1 = fileadmin/templates/addysg/resources/turbine/css.php?files=home.cssp
}

in the primary (highest) template setup, and it doesn't appear in the 
head, the rest of the typo3 generated stuff appears there nicely though!
PS I know the path to the css file looks a bit odd, but its cos I'm 
using a css preprocessor, have tried with a static css file and the 
output is the same.

Very strange indeed!

-- 
Dayle Rees BSc MCP

Rhaglennydd Datblygu'r We               Web Applications Developer
Isadran Cyfrifiaduron                   Computer Section
Llyfrgell Genedlaethol Cymru            National Library of Wales
Aberystwyth,                            Aberystwyth
Ceredigion,                             Ceredigion
SY23 3BU                                SY23 3BU

Ffôn / Phone: 01970 632425              Ffacs / Fax: 01970 632425
EBost / Email: dayle.rees at llgc.org.uk   We / Web: http://www.llgc.org.uk
-----------------------------------------------------------------------
Yn siarad drosof fy hun, nid o anghenrheidrwydd y LlGC   -  Speaking personally, not necessarily for NLW



More information about the TYPO3-english mailing list