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
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
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
3 matches
Mail list logo