Hi, attached is plugin_flatpages, a dynamic wiki/html user editable
pages plugin.

It supports:
 * page edition by users (in the same page)
 * page history
 * preview
 * format conversion (markdown/html)
 * internationalization (a page for each language)

It was based on:
 * my web2py2-wiki branch:
https://code.launchpad.net/~reingart/web2py-wiki/spanish-site
 * wyswyg markdown slice: http://www.web2pyslices.com/main/slices/take_slice/54
  * http://code.google.com/p/jwysiwyg/
  * http://www.aaronsw.com/2002/html2text/

Installation:
 * Just upload web2py.plugin.flatpages.w2p in your app via the web
admin interface
 * create a auth_group "plugin_flatpages" and grant permission via
auth_membership if you want some users to be able to edit pages

Usage:
 * in the controller simply call the plugin like: def index(): return
plugin_flatpage()

Customization:
 * look at view plugin_flatpages.html
 * install module html2text.py for html to markdown format conversion to work


Suggestions and comments are welcome


Best regards,

Mariano Reingart
http://www.sistemasagiles.com.ar
http://reingart.blogspot.com

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.

Attachment: web2py.plugin.flatpages.w2p
Description: Binary data

Reply via email to