[TYPO3] Adding JavaScript from TypoScript template
Dmitry Dulepov
dmitry at typo3.org
Wed Oct 4 16:43:24 CEST 2006
Hi!
Christopher wrote:
> Huh?
>
> What about this:
>
> page.headerData.50 = HTML
> page.headerData.50 {
> value.data = field:uid
> value.wrap = <script type="text/javascript"><!-- fireOnload(
> function() { restoreTreeState("nav","|"); }); //--></script>
> }
>
> Tested and working.
Wow, you are right and I overlooked headerData :) May be I should go and
drink tea finally today ;)
--
Dmitry Dulepov
Web: http://typo3bloke.net/
Skype: callto:liels_bugs
"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)
More information about the TYPO3-english
mailing list