Meidokon Wiki
  • Comments
  • Immutable Page
  • Menu
    • Navigation
    • RecentChanges
    • FindPage
    • Local Site Map
    • Help
    • HelpContents
    • HelpOnMoinWikiSyntax
    • Display
    • Attachments
    • Info
    • Raw Text
    • Print View
    • Edit
    • Load
    • Save
  • Login

Useful(?) links

  • furinkan's stuff

  • Postfix snippets


  • SystemInfo

  • This sidebar

Navigation

  • FrontPage
  • RecentChanges
  • FindPage
  • HelpContents
Revision 1 as of 2011-11-14 03:38:08
MeidokonWiki:
  • moin
  • Seesaw

Seesaw plugin for moin

http://seesaw.ncl.ac.uk/1.9/SeeSaw

Configuring it:

  1. Images go in /home/moin/moin-1.9.3/MoinMoin/web/static/htdocs/seesaw/img

  2. seesaw.js and jquery*.js go in /home/moin/moin-1.9.3/MoinMoin/web/static/htdocs/seesaw/js

  3. 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}
    
  4. 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"
  5. Restart the app process if not running in CGI mode (to reload the changed python files)
  • MoinMoin Powered
  • Python Powered
  • GPL licensed
  • Valid HTML 4.01
MoinMoin Release 1.9.11 [Revision release], Copyright by Juergen Hermann et al.