Question
I added a javascript to the main twiki.tmpl file in the section defined as "script." When I logged into TWiki (from the browser), I did a Page Source view and didn't see the script listed. I expected that adding the script to the template file would cause it to appear in all topics; is this incorrect? Any help you can provide would be greatly appreciated!
Environment
--
AnthonyCalderon - 18 Jan 2008
Answer
If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.
Javascripts should actually be added to the javascript.pattern.tmpl file (when using the default skin). Define the template with TMPL:DEF and add it to the top section with TMPL:P; this should immediately propagate across the wiki.
--
AnthonyCalderon - 06 Feb 2008