Mobile views of pages

Last post 12-30-2007 2:35 PM by Keyvan Nayyeri. 2 replies.
Page 1 of 1 (3 items)
  • Mobile views of pages

    12-21-2007 10:42 PM

    It would be nice to have the ability to create a different view of a page that would be a mobile view for phones and other devices.

     Thanks,

    Brendon

  • Re: Mobile views of pages

    12-23-2007 9:14 PM

     Hi Brendon,

    Another good question and another place we need to better document.

    Our recommendation for this is going to be use a mobile theme. Here is how it would work:

    1. Create the mobile theme

    2. Create a plugin and wire up an eventhanlder on the BeginRequest event.

    3. Set GraffitiContext.Current.Theme to the name of your mobile theme if you detect a mobile client.

    As soon as we get through some more of the remaining open tickets I plan on doing an iPhone focused theme.

    Thanks,
    Scott

  • Re: Mobile views of pages

    12-30-2007 2:35 PM

    I wrote a more descriptive post on how to do this. It contains a plug-in to handle mobile requests as well as a simple Windows Mobile theme.

    http://nayyeri.net/blog/mobile-theme-for-graffiti/

Page 1 of 1 (3 items)