[TYPO3-mvc] Extbase/Fluid - include CSS/JS File

Uwe Michelfelder um at limeflavour.com
Sat Feb 20 18:39:33 CET 2010


Hi Waldo,

I have juste recently seen in the sjr_offers ext from Jochen Rau this:

controler:

public function initializeAction() {

...
		
$this->additionalHeaderData = '
<link type="text/css"
href="fileadmin/css/smoothness/jquery-ui-1.7.2.custom.css"
rel="Stylesheet" />	

...

';
}

Greetings,
Uwe


Am 19.02.10 11:12, schrieb Walter Sparding:
> Hello,
> 
> is there a way do simply include CSS or JS Files like in old pi-Style
> (additionalHeader) ?
> 
> Do i have to create a new ViewHelper ? Or should i use TS ?
> 
> greetings
> Waldo



More information about the TYPO3-project-typo3v4mvc mailing list