Today we have yet another free Joomla! plug-in for all Joomla users (Joomla! 2.5, 3.x and higher) for you, under the self-explanatory name "yagendoo Joomla! Mobile Detection".
The plug-in has a really simple design and helps users and developers find out, in their code, whether the device that the website is being visited on is a mobile device, such as a mobile phone or tablet PC, or not.
In addition, lots of other information, such as the operating system, user agent or exact type of mobile device, can also be checked and/or used.
Particularly in terms of "responsive web design", you will have some real tricks up your sleeve with "yagendoo Joomla! Mobile Detection" – keen users and developers will know what we mean and know how to use it. ;-)
There is already a function in Joomla! that allows you to do this, but due to the complexity, Joomla! itself does not do this reliably enough, which is, of course, more or less the nature of the beast as the number of different mobile devices and operating systems is growing rapidly.
Download
You can download the latest version of the plug-in here.
Download plug-in
Licence
The plug-in is available free of charge for individuals and companies and is published at GNU/GPLv3. You may use the plug-in for your own sites, use it on other websites or create your own plug-in based on it and distribute it. All copyrights in the code must remain intact.
Available functions
The following functions are available in "yagendoo Joomla! Mobile Detection".
MobileDetector::isMobile();
MobileDetector::getUserAgent();
MobileDetector::getPhoneDevices();
MobileDetector::getTabletDevices();
MobileDetector::isTablet($userAgent = null, $httpHeaders = null);
MobileDetector::is($key, $userAgent = null, $httpHeaders = null);
MobileDetector::getOperatingSystems();
Credits
The plug-in is based on the (MIT) code library of Serban Ghita, which is also available free of charge and forms the core of the plug-in. Thank you for your great work, Serban!
We wish you all lots of fun with the plug-in. If you like the plug-in you can support the original developer here.
Robert Went Tuesday, 25 June 2013
Great stuff
I was about to build this into my template but I guess now there is no need.
Are there any limitations on usage? Ie. can I use it in the main index file of a template and in any override?
Thanks for your work on this!