Re: [web2py] Re: plugin_wiki meta-menu

2012-08-07 Thread villas
Yes, that is an even better idea - it is more flexible. Thanks, On Monday, August 6, 2012 12:48:21 PM UTC+1, mweissen wrote: > > Thank you - nice solution. > I have changed it to: > > elif url.startswith('url:'): > url=URL(*(url[4:].split('/'))) > > Usage: > url:application/controller/function

Re: [web2py] Re: plugin_wiki meta-menu

2012-08-06 Thread Martin Weissenboeck
Thank you - nice solution. I have changed it to: elif url.startswith('url:'): url=URL(*(url[4:].split('/'))) Usage: url:application/controller/function All three parts must be supplied. I think, something like this should become part of the plugin_wiki. 2012/8/6 villas > I had a similar prob

[web2py] Re: plugin_wiki meta-menu

2012-08-06 Thread villas
I had a similar problem. My solution was to hack models/plugin_wiki.py. After these lines... elif url.startswith('page:'): url=URL('plugin_wiki','page',args=url[5:]) Add this: elif url.startswith('site:'): url=URL(YOUR_CO