I want to include a javascript in a custom block.
I have tried including just a <script...> section as per a normal html page but this doesn't work (presumably because it is reading it in the body rather than the head.)
Is there a setting somewhere to enable this? I can't find it if there is.
I have tried including a file in the 'Get Content From File' field, but I'm not entirely sure how this is supposed to work, and can find no instruction in any of the manuals.
Is it supposed to be a html file? I've tried using this but to no avail.
Cheers
TOCDCO
29 Jul 2011 7:16 PM
You need to add the javascript code in the template file or index file I believe