[TYPO3-english] Include stylesheet from an extension

Manuel Schmidt manuel.schmidt at aviconet.de
Thu Oct 22 11:12:19 CEST 2009


To add additional Stylesheets the syntax is:

page.includeCSS.X = path_to_css_file

You dont have to add a title to the CSS File.

For Example my CSS Includes look like this:

page.includeCSS {
  1 = fileadmin/templates/css/style1.css
  2 = fileadmin/templates/css/style2.css
  ...
}


See: http://typo3.org/documentation/document-library/core-documentation/doc_core_tsref/4.2.1/view/1/7/#id4354902 

-----Ursprüngliche Nachricht-----
Von: typo3-english-bounces at lists.typo3.org [mailto:typo3-english-bounces at lists.typo3.org] Im Auftrag von Tomita MILITARU
Gesendet: Donnerstag, 22. Oktober 2009 10:59
An: TYPO3 English
Betreff: [TYPO3-english] Include stylesheet from an extension

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!

-- 
Tomiţă MILITARU
AIESEC Sibiu Member
Board Member SbLUG
Junior Java Developer
Tel. +40741064681
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


More information about the TYPO3-english mailing list