New Package - IPhone alt page

Just a follow up on the previous post. I updated the xslt to have a very generic approach to the iphone alternative page and wrapped it up in a package.

With the package you can have an iphone alternative page up in a couple of second. Just install the package and insert the javascript snippet into your master template. This works on every umbraco site so it doesn’t mather if you are using runway or just have a completely custom implementation.

Here’s a small demo:


What the package installs:


After installation you’ll need to specify wich fields will be used to display on the iphone pages (default this is set to bodytext and content). You can do this on the IPhone template, just look for the IPhoneContent macro and setup the displayFields parameter.

 <umbraco:Macro displayFields=”bodyText,content” Alias=”IPhoneContent” runat=”server”></umbraco:Macro>


IPhone Alt Page Package: download

18 Comments so far

  1. Karl Kopp on March 4th, 2009

    Nice idea - very simple. Only issue I found is that if you are using directory paths, it needs some tweaking :)

  2. Chris on March 23rd, 2009


    Nice idea, I thought you would have implemented it on, so I just grabbed my iPhone to have a look, but I just see your normal website? Do you have any examples live?



  3. Tim Geyssens on March 23rd, 2009

    Hey Cris, It’s installed on this site:

  4. Marc on May 31st, 2009

    Hey Karl, can you tell what tweaking? That would help! :-D

  5. matt on January 17th, 2010

    Hi Karl

    Does your package work with ordinary mobiles? I’m looking for a package that will provide a nice cut down mobile version. Do you know of anything like this?


  6. Shruti on January 27th, 2010

    Hi Karl,

    Nice article .. but i have following issue :

    On my site i installed iphonealtpage… Its working fine on test enviornment which is win XP IIs6 ..
    But at server side(win 2008 IIS7) iphone page is not working ..I am giving you my website URL too. you can view-source and check the script(iphonealtpage in section) … it is not giving me /iphone.aspx.

    Please advice

  7. shruti on January 28th, 2010

    Nevermind ,I got above issue resolved… was having permission issue … Just wondering i am having .NET usercontrol as macro on one of the pages, which is not visible to the iphone.. what can we done to make it visible.Its in “bodyText”

  8. Jason on February 9th, 2010

    It appears that the JS eats click for normal external links. Is there a way to have both the alt page working and have external links in the bodyText?

    Also, I’ve made a few tweaks to allow for some text on the pages with items under them (like the home page). Let me know if you want me to send you any mods.


  9. Carlos on April 21st, 2010

    Sooo, does this actually work on other devices like the Android Google browser, Blackberry browser or other handhelds other than just the iPhone???

  10. Robert on May 27th, 2010

    Tim, this is a great package, but doesn’t work with my site using directory url’s… the links are being formatted as “/iphone.aspx#1042″. On the iphone, the homepage just keeps reloading over and over.

  11. Jesper on November 19th, 2010

    Hi Tim,

    Great package. I am trying to get it to work on Android - navigation works fine but i can’t scroll the web pages.
    Has anybody experienced this?

  12. Matt on January 24th, 2011

    Hi there,

    I just installed this on 4.6 but it does not write the Location into the javascript in the master I just get ”

    any idea’s?

  13. Matt on January 26th, 2011

    Is there an ETA on the alt package working with the new schema in 4.6 I’ll do it just tell me what needs to be changed.

    I’d really like to use this package if possible.


  14. Giacomo on May 23rd, 2011

    Hi to all,
    I tried to install this module, but with poor results. On a

    site I found that the pattern using the shell is old. There

    is? Someone was able to install it and run it? How?

    Thanks in advance,



  15. Jackson on January 4th, 2012


    Can anyone get this working using the new schema? If so can you post the code?


  16. gout homeopathic remedies on February 13th, 2013

    Keeping away from liquor totally is amongst the option
    gout treatment ideas that really carry outcomes. Within excess weight reduction furthermore prevent low-carb consuming plans since they tend to be higher in body fat
    and well being proteins. Uric acid, in turn, is formed being a byproduct in the breakdown of chemical compounds referred
    to as ‘purines’ that exist in a natural way within our bodies and
    food items.

    My blog gout homeopathic remedies

  17. Sushi PLace on February 23rd, 2013

    Good information. Lucky me I ran across your site by accident (stumbleupon).

    I have bookmarked it for later!

  18. on June 13th, 2013

    Hey there! This is kind of off topic but I need some help from an established blog.
    Is it hard to set up your own blog? I’m not very techincal but I can figure things out pretty fast. I’m thinking about creating
    my own but I’m not sure where to start. Do you have any tips or suggestions? Many thanks

Leave a Reply