My wish is to have mobile devices using my mobile friendly master page and regular browsers using the current v4.master-page. There's compleytly different content on these masterpages. I've tried a few different routes but I haven't got any of them to work as I want.
When I enter mysite/Pages/default.aspx in a browser I get our standard view, and if I enter the same URL in a mobile device I'm redirected to mysite/_layouts/mobile/mbllists.aspx.
My first thought was to apply my mobile.master to mbllists.aspx, but that didn't seem to work. It says: The referenced file '/_catalogs/masterpage/mobile.master' is not allowed on this page.
So I thought I might be able to redirect mobile devices to another page, instead of mbllists.aspx. I tried the following example which creates an http module that redirects mobile devices to a custom master page. But I couldn't figure out where to add this Http module?
My third option was to disable mobile redirection in the compat.browser file. Now our regular master page is also viewed in a mobile device, but how do I add code to redirect to my mobile.master in the v4.master? And where do I put this code and referencing it in the v4.master?
Is there another easier approach to get this working at all or am I on the right track?
I should say that I'm fairly new to Sharepoint and its structure. I've taken a 4 day course in how to program in Sharepoint, but administrating it like this is still pretty tough.