[TYPO3] How to include javascript in page header from plugin code?
edison
edison at tu3w.net
Tue May 9 22:43:29 CEST 2006
Hi,
I don't understand in which place this code must be?
Maybe In my Setup or Constant Typoscript template
I need to include this tag in my template
<script type="text/javascript" src="img/hide.js"></script>
Tks, for your comments
-----Mensaje original-----
De: typo3-english-bounces at lists.netfielders.de
[mailto:typo3-english-bounces at lists.netfielders.de] En nombre de Oliver Klee
Enviado el: Jueves, 13 de Abril de 2006 5:02
Para: typo3-english at lists.netfielders.de
Asunto: Re: [TYPO3] How to include javascript in page header from plugin
code?
Hi,
Chetan Thapliyal schrieb:
> I would like to know how one can include javascript in page header from
> plugin code.
Like this:
$GLOBALS['TSFE']->additionalHeaderData[] = '<script
type="text/javascript" src="pathtojsfile.js"></script>';
Regards,
Oliver
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
More information about the TYPO3-english
mailing list