[TYPO3-mvc] How to use jQuery in BE Module?
Stig Nørgaard Færch
snf at dkm.dk
Thu Feb 9 15:35:04 CET 2012
> I've read something about using:
> $this->response->addAdditionalHeaderData()
> but haven't found out exactly how/where.
tried to add this to my controller:
/**
* @param Tx_Extbase_MVC_View_ViewInterface $view
* @return void
*/
public function initializeView(Tx_Extbase_MVC_View_ViewInterface
$view) {
$this->response->addAdditionalHeaderData('<style
type="text/css">body {background-color: #000000!important;}</style>');
}
Doesn't give any errors. But doesn't give me any black background either.
/Stig
More information about the TYPO3-project-typo3v4mvc
mailing list