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


Nice idea - very simple. Only issue I found is that if you are using directory paths, it needs some tweaking
Hi,
Nice idea, I thought you would have implemented it on Nibble.be, so I just grabbed my iPhone to have a look, but I just see your normal website? Do you have any examples live?
Cheers,
Chris
Hey Cris, It’s installed on this site: http://www.karlkopp.com/
Hey Karl, can you tell what tweaking? That would help!
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?
Matt
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
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”
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.
Thanks!
Sooo, does this actually work on other devices like the Android Google browser, Blackberry browser or other handhelds other than just the iPhone???
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.
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?
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?
cheers
Matt
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.
Matt
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,
Regards.
G.
Hi
Can anyone get this working using the new schema? If so can you post the code?
Thanks
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
Good information. Lucky me I ran across your site by accident (stumbleupon).
I have bookmarked it for later!
Hi there mates, how is the whole thing, and what you would like to say concerning this post,
in my view its in fact amazing designed for me.
Here is my blog post :: debs dresses dublin
3 billion ($475 million USD) in 2011, or. Real estate is a lucrative market and is considered an excellent investment.
In 1975 the first Famous Amos cookie store opened right on Sunset Boulevard and
the rest was history for this ‘famous’ entrepreneur from
Florida.
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