We are looking to have a site that supports a Mobile device friendly look for those who visit while on Iphones, blackberries, pdas and the like. There are a couple possibilities for doing this. We want content to be identical and not to have to update every page twice (2 separate versions).
One possible way is to have a separate masterpage and switch to it based on an if statement. I came across this post http://www.sitefinity.com/support/forums/support-forum-thread/b1043S-btkaka.aspx
unfortunately the link in it doesn't work.
Now assuming the mobile device can be detected (which I believe it can) and we put an if statement into the masterpage to have it switch to a different layout when a mobile device is used while loading the same content. How exactly would we do this? I already have the code for detecting the mobile device I just need to know how to switch masterpages.
Another thing is my client would like to have anyone that goes to pda.sitename.com instead of www.sitename.com load the pda masterpage as well in case the detection doesn't work. I watched the URL rewriting webinar in case that would be useful but it didn't seem to have what I was looking for (I was thinking of having the pda.sitename.com be automatically rewritten to www.sitename.com/page1.aspx?pda=true for example and then use the same switch) the problem being I would need this to trigger for everypage.
Another possibility I thought of was to create a page that would be a mirror for the site and would load the content from it and put it into the different template/masterpage. Sort of streaming the content from www.sitename.com to pda.sitename.com so that any update would happen automatically but I have no idea whatsoever how to do this. If anyone has any suggestions I would really appreciate it.
Sorry to ask so many questions at once but they were all related and I figured it would help give the picture of what I'm asking for.