[TYPO3-english] Include stylesheet from an extension

Tomiţă MILITARU tomita.militaru at gmail.com
Thu Oct 22 11:26:00 CEST 2009


I've tried this too, still nothing,
I think my typoscript from there is simply ignored, any ideas why this
happens?

On Thu, Oct 22, 2009 at 12:22 PM, Rene Gulager <rgl at samf.aau.dk> wrote:

> Hi
>
>
> Im using a other  way to include css in some of my extentions
>
> page.headerData.30=TEXT
> page.headerData.30.insertData=1
> page.headerData.30.data(
>       PATH:EXT:myextention/static/css/style/css/general.css
>   )
> page.headerData.30.noTrimWrap(
>
> |
> <link rel="stylesheet" type="text/css" href="|" media="all" />
>
> )
>
>
> I don't know if it will work for you but you could try to change the line
>       PATH:EXT:myextention/static/css/style/css/general.css to the url of
> your css file
>
> Regards
> Rene Gulager
>
> Tomiţă MILITARU wrote:
>
>> Hello,
>> I'm making my own extension with Kickstarter and I need on the page that
>> the
>> plugin is included to include on that page a certain stylesheet.
>> I've tried to put in the extension's Typoscript code:
>> page.includeCSS {
>>  file1 = http://domain.com/css/style.css
>>  file1.title = main_stylesheet
>> }
>> But has no effect. Any ideas?
>> Thanks!
>>
>>
>>
>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>



-- 
Tomiţă MILITARU
AIESEC Sibiu Member
Board Member SbLUG
Junior Java Developer
Tel. +40741064681


More information about the TYPO3-english mailing list