• Home
  • Episode Guide
  • Blog & Tutorials
  • Contact

Creating Mobile Websites with Joomla 1.5

Thursday, 18 September 2008 17:42

Attention: open in a new window. E-mail

Share/Save/Bookmark

1000_mobilesHave you heard about the mobile web, or are you looking to build a mobile-optimized version of your website? Why would you want to do this in the first place? Well, there's a couple of reasons:

1. Millions of people are now surfing the web on their cell phones. However, screens on phones are not well optimized for regular websites. Even on the iPhone, which has the "real" internet, it can be a pain to constantly zoom in and out and scroll around.

2. Speed. Most cell phones don't have a lot of bandwidth, so if you can strip out as much of your site as possible, such as the excess javascript, css, and large images, you'll be delivering a your content more quickly to your users.

I'll be discussing two extensions that can help give you a mobile site with Joomla 1.5:

#1 PDA Plugin

The more fully featured plugin for mobile websites, PDA Plugin works quite well. It comes with two files, a template and a plugin. Install both and then visit Plugin Manager and click on PDA Plugin to set some options:

pdaplugin

The settings above are the settings that I am currently using. First thing you'll notice is that this plugin was sort of rushed for Joomla 1.5 as it's still called "Mambot" rather than the preferred "Plugin."

1 Version of the Site or 2?

The first two options are very important. You'll have to decide whether you want to give the choice for mobile users to visit your regular site and your optimized site, or if mobile users will always see the mobilized version. I prefer to give my readers the choice, so I've set it up that way, as it shows in the graphic above. To have two versions, you need to do some additional work: Create a CNAME in your web hosting control panels that maps m.yourdomain.com to yourdomain.com. I chose to use "m" as it's become pretty common on a lot of sites and it's shorter than the default of "pda." Remember that typing on a mobile can be a pain, so the shorter the better!

If you'd like to offer your mobile visitors the mobile site all the time, you won't have to change any of the settings. Just publish the plugin and you're done.

Customize the Template

Next, visit the Template Manager and click on pda. From here you can customize how your template will appear to mobile users. You can specify which modules should show up (up to 5), so make sure to include one of your menus at least!

pdatemplate

 

All together, this is a very nice solution to creating a mobile version of your website. Issues I can see in the future:

  • Will development continue? The author has outlined grand plans for version 3, but hasn't updated his site in months.
  • The developer's site has changed hosts--if the site goes down that would be a tragedy.
  • Will the plugin work on newer mobiles if the developer doesn't update the plugin? This is the most troubling of all, although I suppose a differente developer could add code (heck perhaps I could do it myself) to support newer platforms, such as Andriod.

#2 Auto Template Switcher for iPhone

I believe the name of this extension had iPhone added on just to make it seems more useful for iPhone users, because it isn't specifically made for the iPhone. What it does do, is allow you to serve up to 3 different templates to users based on the browser they use. By default it allows you to target iPhone, Internet Explorer, and Mozilla users, but you could use this for users of other browsers as well.

Installation is sorta straightforward--installs as a module. Set it to a postion, set it to not show the title, and publish it. Oh wait, what's this? You also have to make a Joomla core file modification.

autotemplate

Note that this extension does not come with any templates, so you'll need to find one and install it separately.

Issues:

  • As I mentioned earlier, you have to make a modification to the Joomla core to make this work. Modifications to the core make me sad--it's another thing to track when upgrades roll around.
  • Not compatible with PDA plugin. I had both installed and PDA plugin stomped over it--probably due to Auto Template being a module.
  • Only supports 3 browsers. This leaves out many users of other mobile web browsers.

Mobile Joomla 1.5 Templates

There aren't that many native Joomla 1.5 Templates. If you know of any, let me know if the comments. Here's what I've found:

Joomla Mobile Dark Theme

PDA Template

Testing on a Mobile Device

Don't have a mobile device but want to see if the plugin is working? You can see if the mobile detection is working by using these tools:

Opera Mini Simulator

iPhone Simulator

1000 mobile phones picture from Gaetan Lee.

Bookmark
Email This
Trackback(0)
trackbackTrackBack URI for this entry
Comments (47)add
...
written by Benjamin C. Mooney , November 20, 2008
'PDA Plugin' no longer works smilies/sad.gif
report abuse
vote down
vote up
Votes: -3
...
written by Benjamin C. Mooney , November 21, 2008
I meant to say the link to the plug in doesn't work. PDA plug in smilies/grin.gif
report abuse
vote down
vote up
Votes: -4
..., Lowly rated comment [Show]
...
written by Benjamin C. Mooney , November 21, 2008
Well now its working. smilies/tongue.gif Really it wasn't working when i clicked on it i promise smilies/grin.gif
report abuse
vote down
vote up
Votes: -2
...
written by Mike B. , November 21, 2008
The site has changed urls before so it was probably down for a while. Thanks for letting me know!
report abuse
vote down
vote up
Votes: -1
...
written by Gary , December 24, 2008
Links dead again
report abuse
vote down
vote up
Votes: -3
...
written by Mike B. , December 26, 2008
Thanks Gary--looks like it's back up. If it keeps going down, I'll host the files myself.
report abuse
vote down
vote up
Votes: +2
...
written by Thomas , February 27, 2009
I cant seem to get this damn thing to work. i have an iphone and i downloaded a template i liked, however when i browse to my site the template never changes to the mobile version.

Has anyone gotten this to work?
report abuse
vote down
vote up
Votes: +0
...
written by Mike B. , March 01, 2009
@Thomas: which template are you using?
report abuse
vote down
vote up
Votes: +0
...
written by Thomas , March 01, 2009
my default template is JA Purity, but i was trying to use newspressed mobile from hagportfolio.com. i also tried the pda one from joomup.com. but everytime i set it up and browse using my iphone it doesn't show up as the mobile template.
report abuse
vote down
vote up
Votes: +0
...
written by Mike B. , March 04, 2009
Hmm...wish I could help you out more. Let me know if you get it solved.
report abuse
vote down
vote up
Votes: +1
...
written by Nick , March 30, 2009
likewise i am trying the pda plugin, and when i test in in the opera tester you posted it looks great, but when i test on the iphone tester it is my usual front page
any suggestions?
report abuse
vote down
vote up
Votes: +2
...
written by mike b , April 06, 2009
Now that two people are having this issue, I wonder if something is going on? Could an update to Safari have messed something up?

I wish a developer would take control of the project and give it some much needed love smilies/smiley.gif
report abuse
vote down
vote up
Votes: +0
...
written by biologico y ecología , May 29, 2009
Thansk mate for this short tutorial. I learn what i needed to know to be able to display http://www.naturam.es on a mobile device. I still have some few issies i am troubleshouting at the moment. Hope I'll be able to launch the website next week ...

Cheers...
report abuse
vote down
vote up
Votes: +0
...
written by Eye4IT , June 23, 2009
What if we (Eye4IT) started with our own development project for a Mobile Plugin?
We believe there is a big future for such software. Please advice.
report abuse
vote down
vote up
Votes: +5
...
written by Mike B. , June 23, 2009
@Eye4IT: I think there's a big hole here that could be filled with a new mobile component. Both of these solutions are not under active development that I'm aware of.
report abuse
vote down
vote up
Votes: +1
...
written by Pat , June 30, 2009
We use a Joomla app to send a weekly e-mail. Looking for something that will detect people reading on their phone and adjust accordingly. Will either of these help? Any other suggestions?

Thx
Pat
report abuse
vote down
vote up
Votes: -1
...
written by Mike B. , June 30, 2009
@Pat: Yes, the auto template switcher should work just fine.
report abuse
vote down
vote up
Votes: +0
...
written by Allison , July 21, 2009
The PDA template shows in Internet Explorer 7 for me. Does anyone know how to fix this??
report abuse
vote down
vote up
Votes: +1
...
written by Mike B. , July 23, 2009
@allison: what do you mean exactly? I dont fully understand your issue.
report abuse
vote down
vote up
Votes: +0
...
written by Text to screen , August 03, 2009
Awesome! Thank you for the wonderful plugin!
report abuse
vote down
vote up
Votes: +0
...
written by Evan K. Stone , August 19, 2009
Thanks Mike! I've just got back into doing some Joomla development (for myself and others), and this is one of the first topics I was wondering about.

The GREAT thing is that, in the main, the site I created with just a standard site template is still workable and actually looks pretty good on my iPhone (except for my header graphic. It's a little fat I think, but I think I can deal with that...).

Anyway, it is going to be very helpful to have this in my arsenal since I know someone is going to ask about it eventually.

Thanks again!

///eks :: interactive logic

report abuse
vote down
vote up
Votes: +1
...
written by bachu , September 01, 2009
not work for me.. please.. help...
i just follow your instruction but it's not work...
report abuse
vote down
vote up
Votes: +0
...
written by Jeff W , September 03, 2009
The first option is the best I've tried yet for a quick and dirty iphone/mobile compatible site.

Thanks for finding this!!! smilies/smiley.gif
report abuse
vote down
vote up
Votes: -1
...
written by Mike B. , September 26, 2009
@Bachu--sorry it didn't work for you. Keep trying?
report abuse
vote down
vote up
Votes: -2
...
written by Rob Mousley , October 12, 2009
We had to pull the PDA Plugin off our site when we started to get reports from people who claimed that they couldn't see the banners or the login form on the right hand side of the home page.

Turns out that the PDA version of the site was showing up on some people's browsers. I wasn't able to figure out why - but when we removed the PDA Plugin the problem went away. On the affected machines it didn't matter what browser was used, we got them to try chrome, firefox, IE.
report abuse
vote down
vote up
Votes: -1
...
written by Mike B. , October 14, 2009
That's really too bad. Does anyone have any info about mobile plugins for Joomla? Joomla is really lagging behind WordPress and Drupal in the mobile space.
report abuse
vote down
vote up
Votes: +0
...
written by sergi , October 17, 2009
www.joomlamobile.com - SEDO - 100$
report abuse
vote down
vote up
Votes: -2
...
written by Frank Gielen , November 02, 2009
have a look at www.osmobi.com . What is Osmobi? In a nutshell, Osmobi takes your Joomla! desktop website, create a mobile version of it that works on ANY mobile and launch it.
report abuse
vote down
vote up
Votes: +2
...
written by Kuneri , November 15, 2009
Ultimate solution is just launched: http://mobilejoomla.com
report abuse
vote down
vote up
Votes: +2
...
written by Joomla Extension , November 22, 2009
You can also check out http://joomla-extensions.yourd...smobi.html it's free GPL
report abuse
vote down
vote up
Votes: +2
...
written by Chris , November 24, 2009
mobilejoomla isn't launched yet. Any ideas when?
report abuse
vote down
vote up
Votes: +1
...
written by Magnus , December 14, 2009
Hi, there is a ongoing project on sourceforge that are (among other Joomla plug-in's) developing a Joomla template suited for mobiles. The template should be supported by most mobiles, because there is just simple HTML and no scripts.

Visit the project here http://sourceforge.net/projects/visitas/ and download template under files.
report abuse
vote down
vote up
Votes: +0
...
written by Renea , December 15, 2009
Cache is problematic with this option. I found that, if using the standard Joomla cache plugin and Global config cache option, it only takes a little while for the "mobile" template to get stuck in the site cache. Non-mobile browsers will be served the mobile template eventually. Clearing the Joomla cache solves the issue instantly. I have no idea how to solve this problem but after a few days of troubleshooting it, I can recreate the issue again and again.
report abuse
vote down
vote up
Votes: +1
...
written by Mike B. , December 15, 2009
Hi Renea,

Which option are you referring to that makes the cache a problem?
report abuse
vote down
vote up
Votes: +0
...
written by Kim V , March 11, 2010
Hi everyone

I found a great website for mobile websites. Here you can make a mobile version of your existing desktop site! Quick and easy. www.osmobi.com is the website!


report abuse
vote down
vote up
Votes: +0
...
written by apriliawaludin , March 25, 2010
greet website.. smilies/cheesy.gif
report abuse
vote down
vote up
Votes: +0
...
written by Noel , April 26, 2010
We just completed a new mobile phone template for Joomla here: http://noxidsoft.com/deploy/jo...phone.html and is only a few dollars for the download, is open-source of course and is being used in production mode in a number of websites. Remember to enable the cache feature if desired.

Hope someone can use it, we have spent more than a few hours trying to get something generic enough but simple to use that we could share. There will be more versions and layout to come in the coming months.

Kind Regards
report abuse
vote down
vote up
Votes: +0
...
written by James S , May 18, 2010
I just downloaded the latest release of Mobile-Joomla-0.9.4 and so far it's the easiest app I've seen for Joomla.

I even downloaded the add-on for FireFox called UserAgentSwitcher.xml which imports into FireFox to give you more selections. With this, I can view the iphone results using my desktop browser as it would appear using an iphone. Then I can just switch back to the default user setting.

Mobile-Joomla is a component which installs secondary modules in your module manager and assigns menu positions to these. Also 3 additional templates are installed for the mobile devices. Anyway, check it out for yourself:

http://www.mobilejoomla.com/
https://addons.mozilla.org/en-US/firefox/addon/59/
report abuse
vote down
vote up
Votes: +0
...
written by Noel , June 15, 2010
This is an update of a message above...

We just completed a number standards compliant mobile phone templates for Joomla, optimized for iPhone 3GS, iPhone 4 and iPad, here: http://alturl.com/tvkc

If you own an iPhone, try the samples, we are building a demo site here: http://www.noxidsoft.com/templar

They are only a few dollars for the download, is open-source GNU licensed of course and they are being used in production mode in a number of mobile websites. Remember to enable the cache feature if desired.

Hope someone can use them, we have spent more than a few hours trying to get something generic enough but simple to use that we could share. There will be more versions and layouts to come in the coming weeks and months as the first mobile optimized template we made for Joomla! 1.5.x has proven a winner.
report abuse
vote down
vote up
Votes: +0
...
written by Luca , June 21, 2010
Recently there also is a component JoomTouch a plugin module and a template can be found on http://www.joomtouch.com/ I hope will be useful.
report abuse
vote down
vote up
Votes: +1
...
written by mobile phones , October 13, 2010
The mobile websites are still very much being developed but things are improving.
report abuse
vote down
vote up
Votes: +0
...
written by James-MobileWebsite , December 08, 2010
Hey,great channel and information you have here, keep it coming, best of luck- James
report abuse
vote down
vote up
Votes: +0
...
written by Angelo Glasser , May 13, 2011
These are interesting options, I've been researching this topic for a while and I can't seem to find something that works with the multitude of different mobile browsers that are currently available. I administer a site for a local musician and a mobile version of the site has long been on my request list.It also somewhat scares me to use code that has sat stagnant for so long as any good web designer knows it doesn't take long for good code to become deprecated sacrificing not only security but possibly validation and speed. If anyone would be so kind as to suggest any other options I'd be interested to check them out. Thanks.
report abuse
vote down
vote up
Votes: +0
...
written by Kartik Trivedi , May 23, 2011
Hi,

iVM is a native app for Joomla/Virtuemart websites. Its an resident iphone app but takes data runtime from the website. You can find more details at http://www.ivmstore.com

Best Regards,
report abuse
vote down
vote up
Votes: +0
...
written by aneesh , July 08, 2011
Hi, thanks for that tip. But do I've to create two separate templates before I can use this plugin? I tried installing and nothing comes up, worst yet, when I check from iPhone, a blank page is shown!

Any ideas?

Thanks.
report abuse
vote down
vote up
Votes: +1
...
written by Suchet , August 31, 2011
Hi I am trying to create a mobile version of one of my beloved websites http://www.vegetarian-restaurants-spain.eu.pn however I would also like it to work in an iframe on facebook.

Is this possible with the plugin? smilies/cool.gif
report abuse
vote down
vote up
Votes: -1
You must be logged in to a comment. Please register if you do not have an account yet.

busy
Get plugged into Joomla!
Subscribe free with:

Subscribe in iTunes

OR

podcaster76x76

Subscribe to the blog

via RSS

or via email:

Follow The Joomla Podcast on Twitter

twitter

Latest Blog Posts

  • New episodes coming soon
  • Learn more about Joomla 1.6
  • Joomla + Youtube
  • Joomla 1.6 Alpha Released
  • Sorry for the duplicates

Buy me a cup of coffee?

Categories

  • Free Joomla Tutorials
  • Joomla News

Need to get a message out to the Joomla Podcast community?

The Joomla Podcast is currently accepting sponsorships on both the website and podcast. Please contact us for pricing and layout options. Reach your audience with us!

The Joomla Podcast Recommends:

Joomla A Users Guide
Great resources to get up and going with Joomla!

Need to upgrade your template?

Template design by Witty Monkey © (c) 2009 - 2012 Joomla Podcast