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 > > > 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 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 >>> >>> -- >> > --