Nearsoft, Inc.
home » blog » Mobilebot: Joomla Goes Mobile!



  • Forgot your password?
  • Forgot your username?
Nearsoft, Inc.

Home

  • Back to Nearsoft home

Blog Authors

  • Jorge Pablos (3)
  • Matt Perez (58)
  • Victor Velasquez (11)
  • Julio Gonzalez (10)
  • German Rodriguez (1)
  • Bobby (1)
  • Renato Fontes (2)
  • Manuel Monteverde (1)
  • Hugo Blanco (1)

Blog Categories

  • Events (1)
  • Global Affairs (2)
  • Management (18)
  • Miscellaneous (38)
  • Mobile Development (2)
  • Outsourcing (4)
  • Presentations (10)
  • Software Development (11)
  • SuperHappyDevHouse (0)

Blog Archive

  • August 2010 (3)
  • July 2010 (1)
  • June 2010 (3)
  • May 2010 (5)
  • April 2010 (3)
  • March 2010 (6)
  • February 2010 (7)
  • January 2010 (3)
  • December 2009 (1)
  • October 2009 (5)
  • September 2009 (4)
  • August 2009 (8)
  • July 2009 (8)
  • June 2009 (4)
  • May 2009 (3)
  • April 2009 (5)
  • March 2009 (8)
  • February 2009 (1)
  • January 2009 (1)
  • December 2008 (4)
  • May 2008 (1)
  • December 2007 (1)
  • January 2007 (1)

Site Menu

» home
» about us
» contact us
» blog
» site map
» faq
» other resources
» outsourcing risks
» which shore?
» case study
» managing risks
» tce
» tce scenario
» success stories
» the nearsoft (quick) intro
» nearshoring... the movie
» join us!

Follow Us!

Facebook This blog in Facebook
Twitter Twitter @nearsoft

Links

  • Blog Directory
  • Add to Technorati Favorites
Great Place to Work
WorldBlue - Most Democratic Workplaces

Closer is Better >> Nearsoft Blog

  • Blog Home
  • Tags
  • Search
  • Feed
Jorge Pablos

Mobilebot: Joomla Goes Mobile!

Posted by Jorge Pablos on 08/21/2009 in Mobile Website , Joomla Plug-ins
/blog/mobilebot-joomla-goes-mobile.html
Permalink Print PDF

The way a website should look and behave in a mobile device is significantly different than how it does on a laptop or desktop display.  We came up with a plug-in for Joomla! to make it easy to instantiate different interfaces depending on the client platform.

Websites should look & feel native to the client platformWe’ve been working on a site redesign that requires significantly different templates for laptops/desktops and mobile displays.  On the one hand, we want to optimize the UI for each device; on the other, we don’t want to force users to maintain multiple copies of every page.  That would be disgustingly inefficient, particularly for a site based on Joomla!

Instead, wouldn’t it be beautiful to have all sorts of custom templates for each mobile platform and have the appropriate template selected automatically?

A Plug-in Is Born

I started “googling” around and ended up in the Joomla Core-Enhancements Mobile Section.  I found three extensions (good) but they all had significant limitations (not so good).  For example, one of them required a Joomla! “core” change.  Not pretty.

One plug-in in particular captured my attention, the PDA-plugin for Joomla 1.5.  This plug-in came pretty close to what I was looking for because 1) it detects all popular mobile platforms and 2) switches Joomla! to a specified mobile template (i.e., this template can also be downloaded with the plug-in).

Unfortunately, even though it came close it still had some shortcomings,

  • You can’t handle multiple, independent device/templates with it (i.e., you can’t have one template for iPhone, another for Blackberry, etc).
  • You can’t make custom adjustments to your final HTML code based on the device detected (e.g., remove a particular DIV block for the iPhone or a particular OBJECT element for a Blackberry, etc).
  • Finally, the detection strings are not easily configurable from the plug-in parameters.

I’m a curious person, so I looked at the plug-in’s source code.  A few hours later a new little monster was born (taddah!): the Mobilebot for Joomla 1.5+ plug-in.  Here’s a summary of what this plug-in does,

  1. It can detect iPhone, Blackberry, Android and Opera Mini separately and load a particular template for each of them.
  2. It has two extra spaces so you can add your own custom mobile devices.
  3. You can adjust your final HTML code with simple/regular expression PHP replacements; this can be done independently for each particular device.
  4. If none of the specific devices is detected (or you just have one template for all mobiles), the plug-in can also perform a general mobile detection and load a “generic” mobile template if configured accordingly.

This plug-in uses two detection methods,

  1. Compare the user-agent HTTP header with a list of strings (all of them configurable)
  2. Detect a named subdomain in the address bar assigned by you for that particular device

It can even use both methods at the same time.   Here’s an example:

Let’s assume that you assign the subdomain http://iphone.example.com for the iPhone template and you enable both detections methods for such devices in the Mobilebot parameters.

If you receive a visit of someone using an iPhone, this is what happens:

  1. If the visitor types in http://iphone.example.com directly, then subdomain-based detection is triggered and the visitor gets the correct template.  In this case, user-agent detection is disregarded.
  2. If the visitor reaches the site using http://www.example.com, then subdomain based detection doesn’t trigger but the visitor gets the correct template anyway because user-agent detection is enabled too.

The only difference between these two cases is the URL showing in the address bar.  In the first case it will show http://iphone.example.com, and http://www.example.com in the second case.  If this is not what you want, keep reading.

You may have a reason to keep a consistent URL showing in the iPhone visitor’s address bar.  For example,

  • You want to get the word out regarding the existence of your mobile subdomain.
  • You just are a consistency freak (like yours truly) Smile

Either way, you can accomplish this by enabling the “Redirect to iPhone subdomain” feature along with user-agent detection.  In the configuration dialog, each platform has its own “Redirect to mobile subdomain” parameter.

With this configuration, user-agent detection is used as a secondary helper only to correct the URL when needed.  Otherwise, the redirection option is turned off by default because it’s not needed by most people.  However, if you need it, you can turn it on easily.

alt

Version 1.0

This is the first version of the plug-in so if you find any issues with your particular environment or specific configuration, please, help me correct them.  We can accomplish more together!

No mobile template is included with this release.  This plug-in has the primary objective of giving you the freedom to have completely independent templates for mobile devices.  You can get started with the “PDA” template provided by Denis Ryabov (aka., Physicist) with the PDA-plugin (you may need to do some adjustments to it).

Using this approach, you can include very device-specific HTML markup without affecting the default behavior of your website!

I hope this plug-in helps somebody out there.  It certainly will be helpful for us at Nearsoft and new site layout we’re working on.  Come back here with your iPhone in about a month and you’ll see what I mean.

Final Setup Notes

If the template you provide for a particular device doesn’t exist, no template change is performed.  This is a good thing, for example, if you mistype the template name in the plug-in configuration parameters.  Your site won’t break.  It will not look right for that device, but it won’t break.

Subdomain-based detection requires some extra configuration.  Continuing with the example, both http://www.example.com and http://iphone.example.com should point to the same IP address (e.g., your website) so you may need to do some DNS configurations first.

Download Now!

[ Back ]
Bookmark
Email this

TweetBacks (Tweet this post)

Trackback(0)

TrackBack URI for this entry

Comments (87)

Subscribe to this comment's feed This comment's feed

Show/hide comments
Awesome
0
I have just stumbled upon this and it seems to be just what I am looking for. However, I haven't used it yet, but will let you know as soon as I do.

The idea sounds awesome :-) :-D
Thanks a million for the effort in extending the previous applications of its kind.

I will definately let you know if there is some configuration issues

Thanks again
Tjad
Tjad Clark , September 08, 2009 | url
  • report abuse
  • +1
  • vote down
  • vote up
Alguna template neutra seria bienvenida
0
Hola. Es magnifico el plugin que realizaste. He probado con la template de Pda y hay que eliminar algunas lineas de codigo al principio del index.php
Lo que seria ideal es que tu mismo desarrollaras algunas templates neutrs, para portales de noticias, con un menu principal y poco mas....

Gracias por tu esfuerza
Finito , September 15, 2009
  • report abuse
  • +0
  • vote down
  • vote up
...
0
I get the error "plugin inconsistent with PDA template" when I attempted to use the PDA template. That's the only thing I've been able to generate so far even when I try to switch to a default template. I haven't attempted to edit anything in the php fixes either.
Janie , September 16, 2009 | url
  • report abuse
  • +0
  • vote down
  • vote up
PDA Template
Jorge Pablos
Hi Janie, as you mention the PDA Template doesn't work out of the box with this plugin, you need to change a configuration parameter in the PDA Template:

"Check PDA plugin" from Yes (default) to No, you can do this in the backend:
Extensions -> Template Manager -> pda

Or as another visitor suggested you can edit the PDA Template and remove or comment out the following lines at the beginning of index.php:

if( $this->params->get( 'checkbot' ) &&
( !isset($GLOBALS['pdabot']['version']) || $GLOBALS['pdabot']['version']!='J100' ) )
die('Inconsistency between versions of PDA-plugin and PDA-template.');

I hope this helps, cheers!
Jorge Pablos , September 16, 2009
  • report abuse
  • +0
  • vote down
  • vote up
Excellent
0
I just took a look at your plugin on a test server, and have to say I do like it, makes a few things quite a lot easier! Great job!!
Would it be possible in a future revision add an option to choose a different landing page for each device, alongside the template?
Rick , September 17, 2009
  • report abuse
  • +1
  • vote down
  • vote up
One question...
0
Thank you fot that great plugin! But there's one thing I do not understand:

If I create a subdomain, what content should I put in there? I mean, if I create a subdomain I have an empty web without any content, so what happens after the user is redirected to that subdomain, cause there is nothing? Or am I completely wrong??? Hope anybody can help...
alex , September 17, 2009
  • report abuse
  • +1
  • vote down
  • vote up
TEMPLATE ISSUE
0
Hi,thanks for your effects.
my ploblem is where can i get your template?
i install PDA-plugin in advance.
there is a "PDA" template in my site.
i can't find the default template "mobile".
so, can you help me?
SKY , September 17, 2009
  • report abuse
  • -1
  • vote down
  • vote up
...
Jorge Pablos
alex:
The subdomain should be pointing to the same Website, for this you need to make some DNS configurations in your hosting, in other words if you go to www.example.com and subdomain.example.com you should get the same Joomla! Website, then you configure the plugin to tell apart and change the template when the subdomain is detected in the visitor's address bar.

SKY:
The "mobile" template you mention is just the default name we defined for that particular field, it doesn't exist, you need to create your own mobile templates and install them.

I'm sorry we couldn't include a template with this release, you can find a basic template at:
http://joomup.com/blog/2007/10...joomla-15/
You will need to make some simple adjustments to it so you can use it with Mobilebot (please read my prior answer).

I hope we can offer new mobile templates with our plugin in the near future.
Jorge Pablos , September 18, 2009
  • report abuse
  • +0
  • vote down
  • vote up
...
0
i had installed this one for one of my domain can it work without subdomain..
How to make Mobile wapsite , September 19, 2009 | url
  • report abuse
  • +1
  • vote down
  • vote up
duda
0
Hola, he instalado correctamente tanto el template PDA como el plugin y hechas las correcciones sobre quitar las lineas y poner NO en el template, pero aun asi sigue apareciendo el error "inconsistency between versions of pda-plugin and pda yemplate." que recomiendas?
jhon , September 28, 2009 | url
  • report abuse
  • +0
  • vote down
  • vote up
...
Jorge Pablos
Hi John, I recommend you to verify that you commented out the lines correctly, specially the line - die("Inconsistency..." -, honestly I can't think what else could you do, it should work, I hope you find the problem, saludos!
Jorge Pablos , September 28, 2009
  • report abuse
  • +1
  • vote down
  • vote up
Exmaples of php blocks
0
Hi i'm no php programmer I can just about print a data set from mysql. However I want to remove a few content positions from my mobile website and I dont really know what I should be doing.
Is there any preset 'receipes' we could adapt to our sites? I noticed your mobile version of nearsoft has a menu link at the top of the page, I was wondering how you added this on the mobile site yet excluded it from the full site. It appears you can only omit content from the mobile site and not add content like you have.

Thanks for any help, this plugin really does work, I would love/need to exploit it to its full capability.
Ty Fairclough , October 08, 2009 | url
  • report abuse
  • +0
  • vote down
  • vote up
No way to have it working
0
Hi,

Sorry to be the first to say I can't have it working, but hey... There must be one to say so at some point, ins't it ?

I have installed the plugin, activated it, created an iphone template, put the name of my template in the right place, activated the "iphone with user agent"... And nothing happens : the default template (desktop template) is displayed for iphone and fixed web browser. Just as if the user agent was not detected.

Running under joomla 1.5.14.

Do you have any clue why it is not working ?

Thanks in advance
op , October 10, 2009
  • report abuse
  • +1
  • vote down
  • vote up
Following my comment
0
Hi,

I made some tracing of the code in mobilebot.php and it seems that the problem comes from the line 103 :
if ($this->params->get($mobileName, '0')) {

It should probably be :
if ($this->params->get($mobileName, '1')) {


Same thing for all other lines corresponding to parameters where "Yes" is "1" and "No" is "0".

What do you think ?

Thanks in advance for your reply
Best Regards
op , October 10, 2009
  • report abuse
  • +1
  • vote down
  • vote up
...
Jorge Pablos
Hi op, those PHP lines read the plugin parameter values and if no value is found for that key they use "0", this is a default value, in other words if you set a value for the parameter in the backend you should get the "1" there so this is not definitely your problem.

You need to make sure of two things:

1) Your template is correctly installed.
Go to the template manager (Joomla backend) and make sure it shows up in the list.

2) Make sure you're using the correct name for your template (the one that shows up in the template manager is the one you should use in the plugin configuration, be very exact with the name).

You can also test this with Firefox, there is a great extension out there that let's you "fake" your user-agent string so you can test Websites that depend on the user-agent (like in this case), it is called User Agent Switcher:

https://addons.mozilla.org/en-US/firefox/addon/59

Add the following user-agent:
Description: iPhone
User Agent: Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en)
App Name: AppleWebKit/420+ (KHTML, like Gecko)
App Version: Version/3.0
Platform: Mobile/1A543 Safari/419.3

If the plugin can't find your template it simply won't do anything (as it is happening to you), check, re-check smilies/smiley.gif and make sure your mobile template is installed and configured correctly, I hope this helps!
Jorge Pablos , October 10, 2009
  • report abuse
  • +1
  • vote down
  • vote up
mobilebot.php
0
Hi Jorge,

Thanks for your answer.
I must be missing something. Now it works. As if joomla has to "purge" some cache before serving the right template. Do you know of any internal cache that would have this behavior ? Of course I have tried emptying the cache through the admin UI.


Thanks for your advice concerning the user agent switcher for Mozilla. For that, I personnaly use Safari which allows to change the user agent easily through a menu.

Best Regards
OP , October 12, 2009
  • report abuse
  • +0
  • vote down
  • vote up
Do not want to spam you, but..
0
Hi Jorge,

I got it working by replacing line 235 :

$mainframe->setTemplate($this->selectedTemplate);

with :
$mainframe->setUserState('setTemplate',$this->selectedTemplate);


For any reason, it seems that the setTemplate function does not work properly (at least in Joomla 1.5.14).

Best Regards
OP , October 12, 2009
  • report abuse
  • +0
  • vote down
  • vote up
Do not want to spam you, but..
0
Hi Jorge,

I got it working by replacing line 235 :

$mainframe->setTemplate($this->selectedTemplate);

with :
$mainframe->setUserState('setTemplate',$this->selectedTemplate);


For any reason, it seems that the setTemplate function does not work properly (at least in Joomla 1.5.14).

Best Regards
OP , October 12, 2009
  • report abuse
  • +0
  • vote down
  • vote up
I was wrong
0
Hi,

Sorry but I was wrong. I had modified my Joomla core code and this was the reason for mobilebot not working.

You can remove my messages
Best Regards
OP , October 12, 2009
  • report abuse
  • +0
  • vote down
  • vote up
Redirect to differnt site
0

Is there anyway to redirect to a different site or site directory instead of a sub-domain? It would be nice if the script didn't automatically detect and add the sub-domain when you want to redirect. Maybe you could have two options?

Janie
Janie , October 13, 2009 | url
  • report abuse
  • +1
  • vote down
  • vote up
Google Adsense Mobile
0
Is there any way to include Google Adsense for mobile content? I have tried putting it in a module and displaying it in the mobile template, but it does not work.

Any help is greatly appreciated. :-)
Shawntay , October 14, 2009 | url
  • report abuse
  • +2
  • vote down
  • vote up
Updated for home URLs
0
Hi

I have slightly modified the plugin so that it has a "home URL" for each template, in order to redirect to a different homepage depending on the user agent.
I can send it to you if you want (just give me an email or some URL to upload it);
Best Regards
OP , October 15, 2009
  • report abuse
  • +0
  • vote down
  • vote up
...
0
OMG...That would be so awesome, this mobile device detection and template switching is making me insane. Please email it to me at: janie.pfeffer@gmail.com

Thanks!
Janie
Janie , October 16, 2009 | url
  • report abuse
  • -2
  • vote down
  • vote up
...
0
Would love for one of the mobile version / template switcher plug-ins to work with something with JRE Cache or one of the other caching engines. For large sites like mine, I couldn't exist without cache, but I'd really like to have my mobile version working.
Matthew , October 16, 2009
  • report abuse
  • +0
  • vote down
  • vote up
Brat
0
Matt,

Did you try the Mobile plugin at http://joomla.mobileplugin.net/ ?

They included a cache engine along with quite a few other options. It seems like a pretty robust plugin and it's not included at the Joomla.org extensions site. Unfortunately they don't have the redirect options that the nearsoft plugin does, which are the options I'm looking for.

I'm still hoping OP will share the homepage redirect version with me (everyone).

Janie
Janie , October 19, 2009 | url
  • report abuse
  • +0
  • vote down
  • vote up
...
0
Janie

I tried the mobile plugin you mention on a site and it freaked out the googlebot somehow, kicking me out. Be warned. It seemed to get stuck in a loop not knowing what Google was, and my site dropped out of the rankings until I removed it. This seems to be much more friendly I must say, gonna try it nowm great work! ;-)
John , October 19, 2009 | url
  • report abuse
  • +1
  • vote down
  • vote up
Apply modules to different templates
0
Hey, got an iPhone template working, so when I log onto the computer, the default template works, and on the iphone I get the iphone template. But how do I apply modules to it? If the iphone template is not the default template, I can't apply a menu module or any other module to it because I'd be applying it to the default template. Wouldn't I?
Spanners , October 22, 2009 | url
  • report abuse
  • +0
  • vote down
  • vote up
User Agent Testing
0
FYI - Using a Useragent switcher with Firefox is handy, but this user Agent test page is much faster without dealing with clearing your cookies constantly. http://www.botsvsbrowsers.com/...rAgent.asp

Janie
Janie , October 23, 2009
  • report abuse
  • +1
  • vote down
  • vote up
Please take a look at MobileJoomla!
0
Hi all,

Just released a new way of mobilizing web sites: Mobile Joomla! Please take a look and let us know how it looks on iPhone!
Kuneri , November 16, 2009 | url
  • report abuse
  • +0
  • vote down
  • vote up
Nothing to download at mobile joomla
0
I enter to http://mobilejoomla.com/index.html but i cannot download nothing to try..

Maybe still on alpha state??
Finito , November 16, 2009
  • report abuse
  • +0
  • vote down
  • vote up
Home page
0
How can i hide the home page content?

I have this line of code that puts the home page content on automatically, but when i remove this, other content can't be browsed..

if( !isset($GLOBALS['pdabot']['home']) || $this->params->get( 'componentonhome' ) )
echo '',"
";

Thanks
Carlo , November 18, 2009
  • report abuse
  • +0
  • vote down
  • vote up
not working, no way
0
Sorry. I checked and checked and checked, and I cannot get this to work. The url I provided is the site in our sandbox, and as you'll see it does not redirect to the iPhone template at all. Real mystery.
Randy , November 20, 2009 | url
  • report abuse
  • +0
  • vote down
  • vote up
Osmobile Gnu Gpl
0
You can also try this out for Joomla Mobile
desis , November 23, 2009 | url
  • report abuse
  • -1
  • vote down
  • vote up
redirect...
0
First of all, thank you for this wonderful plugin. It works fantastic.
I have one question. I would like mobile users to be directed to another page. (not a subdomain or the home page)
If the user agent is a mobile phone then direct them to say http://www.site.com/mobile.php
If the user agent is a desktop the standard index.php page is displayed.
Thanks.
warren , November 30, 2009
  • report abuse
  • +1
  • vote down
  • vote up
Iphone Joomla Google analytics...
0
Maybe you can make this work with Google analytics like this Iphone app for Google analytics?

http://frenchan.blogspot.com/
robert duke , December 08, 2009
  • report abuse
  • +0
  • vote down
  • vote up
problem
0
Tried all sorts of things - even changing a line in application.php to no avail.. Finally I tried putting the "template" in all lower case and it worked.
Craig , December 12, 2009
  • report abuse
  • +0
  • vote down
  • vote up
Redirection faild
0
I tried to redirect the mobiles to a subdomain, and It work, but some users said that if they open de normal site get the mobile version in yours PCs. Can you help me.
Tatiana , December 14, 2009
  • report abuse
  • +0
  • vote down
  • vote up
redirect
0
You can redirect a particular phone or all phones by adding the following to the 'PHP fixes' in the plug-in configuration.



I hope this helps.
Warren

warren , December 15, 2009
  • report abuse
  • +1
  • vote down
  • vote up
...
0
here is the code:
warren , December 15, 2009
  • report abuse
  • +0
  • vote down
  • vote up
...
0

$redirectURL='www.tinomobile.com/';
$directURL = $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'];
if (strcasecmp($directURL,$redirectURL) == 0)
{header( 'Location: http://www.tinomobile.com/news');};
warren , December 15, 2009
  • report abuse
  • +0
  • vote down
  • vote up
...
0
It's working great for me on the mobile devices, except it's bringing up the mobile template in internet explorer also.

Any idea why this is happening?
John , December 16, 2009 | url
  • report abuse
  • +0
  • vote down
  • vote up
good
0
tank for plugin very good
dhyta , December 17, 2009 | url
  • report abuse
  • +1
  • vote down
  • vote up
Helooo
0
Where can I find a template for this connector?
Mehmed , January 02, 2010 | url
  • report abuse
  • +0
  • vote down
  • vote up
site redirection
0
Warren,

I tried your code by adding it to the "PHP Fixes" under the default mobile template area. But it did not redirect. I set "Mobile with user-agent" and "Redirect to mobile subdomain" to "yes", and "Mobile with subdomain" to "no". I left all other options alone for now. Is there any else I need to consider?
Kali , January 07, 2010 | url
  • report abuse
  • +0
  • vote down
  • vote up
Jpegs resizing
0
Hi, great plugin. Just one question, when the template ja_purity_ii is activated, it resizes all jpegs to a much smaller size. Can this be changed so that it doesn't resize?

ES
ES , January 25, 2010
  • report abuse
  • +0
  • vote down
  • vote up
What about Normal viewing?
0
Hi. First of all, Fantastic job! Just what i´ve been looking for.
I have a question though, Is there a way for users (or me!) to see my website normally (with no mobile plugin) through a link maybe?
I mean i use the plugin only for news cause i have an institutional site but what if i want to see the whole site?
Thanks in advance.
Fernmac , January 25, 2010 | url
  • report abuse
  • +1
  • vote down
  • vote up
Url direct to articel
0
Hi

Great softwear! looking for this I think. Going to try it this week.

Just one question.

Does the template show up if I link straight to a articel page from a link in a webapp from the mobile (Iphone)

For exampel iphone.creativebyhands.com/index.php?option=com_content&view=article&id=7

and or if I use serch friendly URL:s on?

Best Regards Bo
Bo , January 26, 2010 | url
  • report abuse
  • +0
  • vote down
  • vote up
Its greate!
0
It works soooo great... Thanks!!!!!!!
Sandra Aguilar , February 04, 2010 | url
  • report abuse
  • +0
  • vote down
  • vote up
Default Template
0
Hi... im using your pluging and is great... but I have a dude.... I want to put the option to see the standar template too... do you know how to do it? what do i have to put in the link???
Sandra Aguilar , February 04, 2010 | url
  • report abuse
  • +0
  • vote down
  • vote up
I have some issue with this plugin
0
Have you ever heard something like this,

I try to preview my site and I get error message: 404 component not found.

Problem is just with the home page (index.php), but every other page is ok.

Now here is the strange part: Problem appeared on my first computer with Windows 7 and IE 8 but on my second computer Win XP and IE8 it's OK, Firefox is ok on both of them.

So I try on my friends computer with IE and it's ok again.

I thought that something was wrong with my computer, and then I try to open it with my iPhone, and I get this same error again.

So it is not my computer error because it is server message and when I disable dis plugin website works fine.

I am using Joomlart JA Teline II on Joomla 1.5.15
dejansoftware , February 13, 2010 | url
  • report abuse
  • +0
  • vote down
  • vote up
PDA template no more on the linked url available
0
Hello the link for the "PDA template" does now lead to a site where you have to "earn" an "alpha" invitation by registering a forum, following and retweeting a twitter user. Do you or any other out here have an alternative download url for this "PDA template"?
A1 , February 15, 2010 | url
  • report abuse
  • +1
  • vote down
  • vote up
fantastic solution
0
Hi Jorge,
Fantastic plugin - thanks so much for creating it.
I do have a question. For usability - is there a way for say an iphone to click on a "Go to Full site" button and then NOT get re-directed back to the iphone template?

I have seen that on a good many sites... possible?
thanks1!
Rod , February 15, 2010
  • report abuse
  • +1
  • vote down
  • vote up
cis.neeraj07@gmail.com
0
The article is good provides useful information & Fantastic plugin too.I like the article very much as it is very informative and hope to see more of such articles.
Joomla Developer , February 16, 2010 | url
  • report abuse
  • +0
  • vote down
  • vote up
redirect
0
HI Warren, great plugin so far, i have one question. What do i have to do if i want the iphone User redirect to a other side than home, i. ex. /index.php?option=com_content&view=article&id=368

I tried to put it in the Mobile subdomain name area, also i tried out the absölute URL thing you suggested above: $redirectURL='.... I copied and pasted into the "iPhone PHP Fixes" area with no modifications escept the URL. None of those worke. i end always with the iPhone on my default home page wich is not optimized for mobile devices. What do i do wrong? Thanks for your help and kind regards
Rom , February 16, 2010
  • report abuse
  • +0
  • vote down
  • vote up
james says different
0
I visited this sight for the first time and found it much informative and knowledgeable but I would like to add that currently we are living in the era of IT but unfortunately more than half of world population is illiterate. Out of those a few are computer and internet familiar so the target market for internet marketing is niche. Therefore the developed nations should promote IT as well as computer literacy in these developing areas so the target market can be increased in future.


by james if you have any problem in IT studies i welcome you to visit
mcsa test , February 20, 2010 | url
  • report abuse
  • +0
  • vote down
  • vote up
how to install this plugin??
0
I've installed correctly the application, but after that, how to manage the plugin?

create subdomain, like iphone.xxx.com what is the location? Where can i find the template for each mobile?

more explications is very greatful!

(excuse me for my english, but i speak frenc (from belgium))
Val , February 25, 2010
  • report abuse
  • +0
  • vote down
  • vote up
...?
0
Good Plugins, but was not at my brain: (Should subdomain to add?
Sandzak , March 05, 2010 | url
  • report abuse
  • +1
  • vote down
  • vote up
Problems detecting IE8 on Vista
0
Hello,
Has anyone had problems with this plugin and IE8 on Vista. It seems as though when accessing our site with IE8 on Vista it is loading the "Default Mobile Template (All Mobile Devices / Catch-All)" instead of going onto the regular web template.

Thanks for any and all help!
Jon
Jon Lackey @zuno , March 12, 2010 | url
  • report abuse
  • +0
  • vote down
  • vote up
Same issue as above
0
Hi there,

I am having the same issue as the previous poster. When accessing sites with the mobilebot plugin from Vista IE8, then it defaults to the mobile template. Is there any way that we can get WURFL mobile verification as opposed to relying on a manual text list?

Thanks,
Charels
Charles , March 19, 2010 | url
  • report abuse
  • +0
  • vote down
  • vote up
is threr a mobile extension for joomla 1.0
0
I tried to migrate to 1.5 and it was nitemare ..Does anybody know how to make a mobile joomla 1.0 site ..is there an extension


thanks
ryan , March 25, 2010 | url
  • report abuse
  • +0
  • vote down
  • vote up
brilliant plugin
0
I am having the same IE8 on Windows 7 detection issue. Thinks it's a mobile browser. Such a bummer because it works so well otherwise.

Just a thought, but maybe one way to do the link to the full site template would be to use another subdomain like full.mydomain.com which would force it back to the full template?

I can't use subdomains on my site because a component uses the full domain to check the encrypted license file.
Brian Richards , March 26, 2010 | url
  • report abuse
  • +0
  • vote down
  • vote up
Narrowed down the IE8 Detection thing
0
So the IE8 detection thing has to do with the keyword "nec" being in the catch-all list. I think this is because it is doign partial matches rather than exact matches. The partial match in my IE8 header seems to be: "OfficeLiveConnector.1.4" since it is the only part of the string that has an "nec" anywhere in it.
Brian Richards , March 26, 2010 | url
  • report abuse
  • +2
  • vote down
  • vote up
Some answers
Jorge Pablos
* To Janie , October 13, 2009 (Redirect to a different site/directory)
Yes Janie, that could be a really useful feature, I'll keep that in mind for the next release

First option is to do it with PHP in the "PHP Fixes" field of the plugin parameters for the mobile device, something like what is described in the comment by warren , December 15, 2009

You could also make an .htaccess redirection when the domain is something like iphone.example.com to the other site

Other option is to acommplish what you want with DNS, for example, you could have a Name-based Virtual Host in Apache that handles the requests to iphone.example.com pointing to the directory you want

* To Shawntay , October 14, 2009 (AdSense)
The easiest way I can think of right now:
You could define a mobile-only module position in your mobile template (not present at all in any other Joomla! template of your site), then create a module with a raw PHP/HTML plugin such as mod_custom or mod_php and include your AdSense JavaScript code in it and assign this new module to that position

Maybe you're already doing this, if this is not working first make sure the mobile device you're testing this on supports JavaScript/Flash (this depends on the type of Ads you're trying to display)

* To Spanners , October 22, 2009 (Different templates, different modules)
You have a good point there, what you need to do is to have module positions named differently in your default and mobile templates like:

left
left_mobile

In your default template you only use "left" and in the mobile template you use "left_mobile" to assign completely independent modules to them, (Note: you may need to switch temporarily between templates in the Joomla! backend when assigning modules)

* To warren , November 30, 2009 (Redirect to another Joomla! page)
Good feature request, we will keep it in mind
Jorge Pablos , March 27, 2010 | url
  • report abuse
  • +0
  • vote down
  • vote up
Some answers
Jorge Pablos
* To ES , January 25, 2010 (JPEG resizing)
The resizing of JPEG's you're mentioning is most likely related to the device or the mobile template you're using, I'll recommend you taking a look at the source code of such template to find out what is going on

* To Fernmac , January 25, 2010 (Link to main site)
* To Sandra Aguilar , February 04, 2010
* To Rod , February 15, 2010
That could be a good feature, I'll give it some thinking, thank you for the suggestion!

* To Bo , January 26, 2010 (friendly URLs)
This depends on the specific configuration of your Joomla! Website, but in general this should work

* To dejansoftware , February 13, 2010 (Problem Vista/IEsmilies/cool.gif
I haven't heard of this problem, did you find a solution?
(could this be related to the problem described two answers below?)

* To Val , February 25, 2010 (Howto, subdomains?)
* To Sandzak , March 05, 2010
Subdomain based detection is not necessary, that is for more advanced configurations, you only need to define a template for your particular mobile device in the plugin parameters and that should do it!

* To Jon Lackey @zuno , March 12, 2010 (Vista/IE8 Problem)
* To Charles , March 19, 2010
* To Brian Richards , March 26, 2010
What Brian Richards found sounds like the solution to me, this is the reason behind leaving the parameters configurable by the user (new user agents strings in the future, etc), removing the keyword "nec" from the default and saving the changes should fix the problem

* To yan , March 25, 2010 (Joomla! 1.0 version)
Sorry yan, there's no version for Joomla! 1.0, I recommend you though if you can to migrate your site to Joomla! 1.5+ because the version you have has been deprecated some time ago
Jorge Pablos , March 27, 2010 | url
  • report abuse
  • +0
  • vote down
  • vote up
Moble/Desktop Version Toggle
0
Thanks for the plug-in! I had a little trouble getting it to work at first, but resolved it by pulling the spaces out of my template name.

How would I go about making a toggle switch so that I can have a link to the desktop version of the site?
Nick , April 21, 2010 | url
  • report abuse
  • +1
  • vote down
  • vote up
Mobile/Joomla/iPhone Alternative
0
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
Noel , April 26, 2010 | url
  • report abuse
  • -2
  • vote down
  • vote up
works perfect
0
Hi,
really great work! just tested it and it worked perfect! had some minor issues on the iphone with some padding and margin-values. adjusted those two values in a separate template for mobile and now the site looks on the iphone just as on any other browser! (check it our, it will be launched on may 3rd!

one issue could be, if you have different templates assigned to different menu-items. I think this is not possible with this plugin. but anyway, at this time does anybody expect to have the same experience surfing mobile than surfing on a normal pc?
so thanks a lot!!

best wishes
Florian , April 28, 2010 | url
  • report abuse
  • +0
  • vote down
  • vote up
404
0
After installing on Joomla 1.5.14 it changes template great!

But in the iphone i get no menus all links and main content gone.
And going to the site with my laptop I get the original template with menus but all links in menus generate 404.

Even after uninstalling all links generate 404 (thank god for separate test subdomain and DB).

Apart from my problems GREAT KIT keep it up!

Carlos

Any clues any one?
carlos , May 01, 2010
  • report abuse
  • +0
  • vote down
  • vote up
reply this post
0
All people deserve very good life time and lowest-rate-loans.com or just student loan can make it much better. Just because people's freedom depends on money.
BethHouse20 , May 01, 2010 | url
  • report abuse
  • +1
  • vote down
  • vote up
IS it working?
0
Hi I was hopeful this plugin would make our site more accessible to mobile devices, i installed and enabled default Mobile agents to Yes, subdomains to no. Seems to be bringing the site up as it always has on my iPhone, what is it supposed to look like with the plugin on? Thanks. Jeff
Jeffy , May 10, 2010 | url
  • report abuse
  • +0
  • vote down
  • vote up
Mobilebot: Joomla Goes Mobile!
0
thanks for the information the information provided by you is so useful and might be helpful for the joomla people.
Hire Dedicated C# developers , May 19, 2010 | url
  • report abuse
  • +0
  • vote down
  • vote up
...
0
This is greate solution of my problem ...This is a well knowledgeable post..
thank you very much for sharing this..
Joomla Developer , May 28, 2010 | url
  • report abuse
  • +0
  • vote down
  • vote up
Moving to administrator
0
Thanks for this great piece of code. I actually have the need of enabling this feature for administrator template. I think it has been used mostly for front-end side, but is there any easy way to enable it at Back-end or some thoughts around it?
Orlando , June 01, 2010
  • report abuse
  • +0
  • vote down
  • vote up
iPad
0
Hi there, first of all: This plugin is really nice because it works pretty easy.

I had the chance to play arround on an iPad yesterday in the Apple Store and figured out that the plugin is detecting the iPad as mobile device and shows the mobile template. On my websites this should not be the case. The mobile version is made for iPhones and other small display devices. Due the big screen on the iPad the user should see the whole website on it. Is there any chance to achieve that? I made a screenshot of the whatismyuseragent.com website on the iPad (if you need the user agent information)...
david , June 15, 2010
  • report abuse
  • +0
  • vote down
  • vote up
...
0
I will try it soon! Thanks for this great information!
Pete , July 04, 2010 | url
  • report abuse
  • +0
  • vote down
  • vote up
...
0
I installed the plugin but now... WHAT I HAVE TO DO FOR IT TO WORKS???? I HAVE TO PUT THE CODE .... WHERE??? Please let me know i'm going mad:
malchik -at- libero.it
Malchik , July 10, 2010
  • report abuse
  • +0
  • vote down
  • vote up
Some templates work fine, other not at all
0
Thanks for making this available. It was VERY easy to set up, and I thought it was going to be the answer to my prayers...

BUT

It only seems to work with certain templates. It will work with the default BEEZ and RHUK_MILKYWAY Joomla templates, but none of the other templates I have tried. I bought a template from ThemeForest that was mentioned above, but that won't work either.

It's obviously a template specific issue, but have no idea what it could be. The templates that do not work with this plug-in DO work when they are set to the default template, so I know the template files are valid and work properly.

Any insight and to why some templates would work and others not?
Bill , July 10, 2010
  • report abuse
  • +0
  • vote down
  • vote up
...
0
i will try it...my girlfriend just get an error... i show you informations later...
Gutschein Paul , July 30, 2010 | url
  • report abuse
  • +0
  • vote down
  • vote up
Wonderful Arcticle but One Query
0
Why do i need a subdomain, to a site.
Lets say i have my site http://www.example.com.
When i open in my iphone this site http://www.example.com will it open and work bug free??
Haspreet , August 01, 2010
  • report abuse
  • +0
  • vote down
  • vote up
Link to normal version
0
Like Fernmac wrote earlier, this plugin need option for enabling link to normal version of the site.
Anonymous , August 12, 2010
  • report abuse
  • +1
  • vote down
  • vote up
I love it!
0
I tried it with y iPhone and it´s great!
So i can delete articles on the go. I hope this will be soon available for Wordpress, too!
ParkettKlaus , August 19, 2010 | url
  • report abuse
  • +0
  • vote down
  • vote up
Hello
0
Hello,
I have a question.
Can I use same subdomain (m.example.com) for different templates, for example, opera mini and iphone?

Different templates but same subdomain? Because, I just want normal version and mobile version, but right template for different mobile devices.

Thanks.
Anonymous , August 24, 2010
  • report abuse
  • +0
  • vote down
  • vote up
Problem concerning the iPad solved
0
Hi every body!
You should have notice that the mobilebot plugin considers the iPad as a mobil. If you don't whant this or use a specific template for the iPad you have to go in the administration of the plugin and in the first part: "Default Mobile Template (All Mobile Devices / Catch-All)" you have to remove or move the "mobile" key word. The iPad user-agent contains the "mobile" key word.
See you
Jerome , August 25, 2010
  • report abuse
  • +1
  • vote down
  • vote up
Update
0
Any news on an update?

Does anyone have the OP's version which adds in the URL redirect? I would love to get that from someone.

tommy.rayburn@gmail.com
Tommy , August 25, 2010 | url
  • report abuse
  • +0
  • vote down
  • vote up
...
0
Can anybody explain how to use php fixes?
Anonymous , August 27, 2010
  • report abuse
  • +0
  • vote down
  • vote up
Hire PHP Developers, Hire Joomla Developers
0
Hi
i am a developer for mobile Applications Development i want to know that can i use This plug-in for all kind of mobile devices.

Thanks

Hire Joomla Developers , August 30, 2010 | url
  • report abuse
  • +1
  • vote down
  • vote up
very impressive
0
I tried your mobilebot, i like its functionality, i wish there was a way to simultaneously update both the mobile and regular site, but until that is solved i dont have enough traffic for two templates.

I tested this with the opera mini browser app and was able to simulate a mobile experience, for the most part it works,

thanks for the helpful bit of coding

jay , August 30, 2010 | url
  • report abuse
  • +1
  • vote down
  • vote up

Write comment

smaller | bigger

busy
home | about us | contact us | blog | site map || faq | other resources | outsourcing risks | which shore? || case study | managing risks | tce | tce scenario | success stories || the nearsoft (quick) intro | nearshoring... the movie | join us!
© Nearsoft, Inc.  All rights reserved.