I am using Mobile tools with option to swithc theme by url and it works fine. I created a menu for the mobile environnement but I don't want to use absolute path for menu links (such as http://mobile.mydomain.com/a-page) but rather use a relative path. I do that because I am using features to sync changes on multiple environments (local, dev, production ) so I don't have to change the base url each time. The problem is that I can't get the mobile base path on this menu but the desktop menu. I mean when I am in http://mobile.mydomain.com/a-page, the page is rendered as mobile but the primary menu is using http://WWW.mydomain.com/a-page.