Alan Etkin
unread,Jan 27, 2013, 3:08:00 PM1/27/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to web2py-d...@googlegroups.com
I don't think this was implemented yet, and I think that the various customizations that are being required for the auth.wiki feature could be managed this way:
I think the most clear way of customizing the wiki would be:
(after auth initialization, all has default values)
# append the menu to all actions or perhaps also accept a list of urls, default to default/index
auth.settings.wiki_menu = <a list of actions where to add the menu item to response.menu>
# the menu controller and function should be overwritten by controller calls for redirecting to the same action
auth.settings.wiki_controller = <default>
auth.settings.wiki_function = <index>
# What elements related to the slug should auth.wiki expose in the view
auth.settings.wiki_components = <["content",]>
And so on, for any other wiki customization