[TYPO3-dev] Adding extra JavaScript and CSS
Tapio Markula
tapio.markula at atwebteam.com
Sat Sep 2 09:43:11 CEST 2006
Hi
In alt_topmenu_dummy.php
// Start page
$TBE_TEMPLATE->docType = 'xhtml_trans';
$TBE_TEMPLATE->bodyTagId .= '-iconmenu';
$this->content.=$TBE_TEMPLATE->startPage('Top frame icon menu');
Well this doesn't allow extra JavaScript or CSS
Normally additional JavaSciript have been set using $this->doc-JSCoder;
The easiest way to allow extra header info would be
extra parameter for startPage()
function startPage($title,$extraJS='',$extraCSS=''){
What about this idea?
More information about the TYPO3-dev
mailing list