How to add external scripts
Create a wikiconfig_local.py in your base folder with a Config class extending Config.
After this, create an attribute called external_script (in a list).
e.g.:
from wikiconfig import Config as WikiConfig class Config(WikiConfig): external_scripts = [('text/javascript', 'http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js')] MOINCFG = Config
Usage: (type, href)
type : type file of the script (more information in http://www.w3.org/TR/REC-html40/interact/scripts.html)
- url: url to script file