[Typo3] Add css with ts on a single page

Mathias Schreiber [wmdb] mathias.schreiber at wmdb.de
Fri Dec 2 17:43:49 CET 2005


Vlatko Šurlan wrote:
> This all works but is not appropriate for my case. I need to add a 
> <style>little css</stile> in the header of a single page. I think there 
> is a more suitable way to do this than create an entire css file and 
> modify the root template. Is there a way to do it with an extension 
> template or page header template?

[globalVar = TSFE:id = 10]
page.headerData.5 = TEXT
page.headerData.5.value (
<style>
body {
	font-size:2000em;
}
)
[end]

Get the point?

-- 
if ($GLOBALS['TSFE']->fe_user->user['ahnung'] == 0) {
	$this->fresseHalten = 1;
}



More information about the TYPO3-english mailing list