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 <villa...@gmail.com> > 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_CONTROLLER_HERE,url[5:]) > > Then in menu I use 'site:' in addition to 'page:'. > > Maybe you could do something similar. However, it would be nice if > something like this was built-in. > > HTH, best regards, > David > > > > On Monday, 6 August 2012 10:34:54 UTC+1, mweissen wrote: >> >> About the meta-menu: I have found in the book >> >> *Home page:home >> Google http://google.com >> * >> >> But how to go to another application on the same server? There should be >> something like >> >> *To my function URL(f='myfunction',c='mycontroller',a='myapplication')* >> >> I have tried >> >> *To my function http://127.0.0.1:8000/myapplication/mycontroller/ >> myfunction* >> >> It works, but only from the local computer. Using the real IP-address >> would not be a good idea, because portability is lost. >> Maybe it's anywhere in the documentation, but I did not find it. >> >> Regards, Martin >> >> -- > --