[TYPO3-english] Include stylesheet from an extension

Tomiţă MILITARU tomita.militaru at gmail.com
Thu Oct 22 12:51:45 CEST 2009


Still not working ...

On Thu, Oct 22, 2009 at 12:53 PM, Oliver Klee <typo3-german-02 at oliverklee.de
> wrote:

> Hi,
>
> Tomiţă MILITARU schrieb:
> > 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?
>
> That's what I do in one of my extensions:
>
> page {
>        includeCSS {
>                tx_seminars_pi1 = EXT:seminars/pi1/seminars_pi1.css
>        }
>        includeJS {
>                tx_seminars_pi1 = EXT:seminars/pi1/tx_seminars_pi1.js
>        }
> }
>
> So these are just strings with file paths.
>
>
> Oliver
> _______________________________________________
> 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