Seesaw plugin for moin
http://seesaw.ncl.ac.uk/1.9/SeeSaw
Configuring it:
Images go in /home/moin/moin-1.9.3/MoinMoin/web/static/htdocs/seesaw/img
seesaw.js and jquery*.js go in /home/moin/moin-1.9.3/MoinMoin/web/static/htdocs/seesaw/js
Then edit moin-1.9.3/wiki/wikiconfig.py to include the necessary JS
1 # near the top 2 from MoinMoin.config import multiconfig, url_prefix_static 3 ... 4 5 # at the bottom: 6 html_head = ''' 7 <script type="text/javascript" src="%(url_prefix_static)s/seesaw/js/jquery-1.4.4.min.js"></script> 8 <script type="text/javascript" src="%(url_prefix_static)s/seesaw/js/seesaw.js"></script> 9 ''' % {'url_prefix_static':url_prefix_static}
Configure Seesaw itself for the paths, moin-1.9.3/wiki/data/plugin/macro/SeeSaw.py
#--- Configuration ---------------------------------------- from MoinMoin.config import url_prefix_static img_prefix = url_prefix_static.rstrip("/") + "/seesaw/img"
- Restart the app process if not running in CGI mode (to reload the changed python files)