Mobile Drupal



For a customer who has a simple list of 10 RSS items that he wants to show on mobile devices, my employer build a website. Most mobile websites are based upon a domain, the user has to visit a different website from his mobile device; often m.example.com instead of (www).example.com. This is not the right way to make a mobile edition of a site IMHO. It is not the user that has to change his behaviour, it should be the site that has to adept basedupon the users preferences.

So for this customer we build a site that looks for the capabilities of the users and changes in form and function based upon the clients possibilities. When you visit example.com in a normal browser you will see a normal template, but when visiting the site from a mobile device, the site changes. Drupal reads the useragent, looks this up in an imported database of 5.000+ devices (WURFL) and based upon the capabilities, delivers a template and HTML structure that is optimized for that specific client.

So when on an iPhone I see the picture above using an iUI template and when on an old nokia, I get for example a CHTML site.

The site should change, not the user. Form follows capabilities.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

This looks very interesting,

This looks very interesting, much more intuitive than the existing solutions offered on d.o. Any chance if you guys will release this as a module out there ?

This looks very interesting,

This looks very interesting, much more intuitive than the existing solutions offered on d.o. Any chance if you guys will release this as a module out there ?

How do you do it ?

Is it possible to know how do you do the switch from normal theme, to mobile theme ? Tnx.

WURFL

I love WURFL. Used it in the past for some news site. Worked like a charm. Reading the XML is a pain, it is a ridiculous size so VIM gets bogged down a bit. I also like how WURFL keeps track of the type of template that can be used(It knows the dimensions of the screen, and the capabilities of the device.

WURFL

I love WURFL. Used it in the past for some news site. Worked like a charm. Reading the XML is a pain, it is a ridiculous size so VIM gets bogged down a bit. I also like how WURFL keeps track of the type of template that can be used(It knows the dimensions of the screen, and the capabilities of the device. Where did you get drupal iPhone style sheets?

Post new comment


*

  • You may link to images on this site using a special syntax
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • Voting controls can be added to this post.
  • Lines and paragraphs break automatically.
  • Easily link to terms in various wikis. For help, see interwiki.
  • Allowed HTML tags: <A><I><LI><OL><U><UL><img><p><tt><table><hr><small><div><br><strike><b><pre><li><ul><td><tr><blockquote>
  • Insert Google Map macro. Create a macro