Joomla! mobile template!
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
-
- Joomla! Apprentice
- Posts: 5
- Joined: Thu Jan 19, 2006 11:43 pm
Joomla! mobile template!
Hi all,
In a short periode i installed Joomla and as far as i can see this is great stuff!
The main idea for me was to create a mobile site and there for i found this add-on/template
XE Mobile (XE Media)
A live preview of this template can be found here!
Now i was wondering if other members here also discoverd this template and if they can confirm it works with Joomla 1.0.7 or just with Mambo 4.5.2 or higher?
As for now i have problems using this template over Joomla 1.0.7 the problem is is that the navigation button's don't show up, the only thing that is displayed is the Newsflash item
Thanx for helping
In a short periode i installed Joomla and as far as i can see this is great stuff!
The main idea for me was to create a mobile site and there for i found this add-on/template
XE Mobile (XE Media)
A live preview of this template can be found here!
Now i was wondering if other members here also discoverd this template and if they can confirm it works with Joomla 1.0.7 or just with Mambo 4.5.2 or higher?
As for now i have problems using this template over Joomla 1.0.7 the problem is is that the navigation button's don't show up, the only thing that is displayed is the Newsflash item
Thanx for helping
-
- Joomla! Apprentice
- Posts: 29
- Joined: Mon Jan 16, 2006 6:36 am
Re: Joomla! mobile template!
On my site (http://www.techislands.com) I use a modified Xe Mobile for the mobile version of the site (you are automatically redirected there if you are on a mobile device and go to http://www.techislands.com)
For the nav, yes it does not work, but you can go and edit the index.php in an html editor (like frontpage) and add the links your self (just copy from your current main menu). For me it works great as i do not change my menu items that often.
you can click this to view the template on your main browser:
http://www.techislands.com/index.php?jo ... =xe_mobile
And to go back to the normal layout:
http://www.techislands.com/index.php?jo ... larflareII
For the nav, yes it does not work, but you can go and edit the index.php in an html editor (like frontpage) and add the links your self (just copy from your current main menu). For me it works great as i do not change my menu items that often.
you can click this to view the template on your main browser:
http://www.techislands.com/index.php?jo ... =xe_mobile
And to go back to the normal layout:
http://www.techislands.com/index.php?jo ... larflareII
-
- Joomla! Fledgling
- Posts: 4
- Joined: Thu Jun 22, 2006 10:06 am
- tfuller
- Joomla! Enthusiast
- Posts: 218
- Joined: Tue Sep 20, 2005 11:30 pm
- Location: Oregon
- Contact:
Re: Joomla! mobile template!
How does the automatic redirection to the mobile template work - what is the code you use?
Author of component Joomla Bible Study:
http://www.JoomlaBibleStudy.org
http://www.JoomlaBibleStudy.org
- zuze
- Joomla! Explorer
- Posts: 290
- Joined: Sat Feb 11, 2006 9:43 pm
- Location: Birmingham, USA
- Contact:
Re: Joomla! mobile template!
I am interested in this as well.tfuller wrote: How does the automatic redirection to the mobile template work - what is the code you use?
The key to your life is how well you deal with plan "B".
Latvian Project http://joomlacode.org/gf/project/joomla_latvian/ | http://www.joomlalv.org
Latvian Project http://joomlacode.org/gf/project/joomla_latvian/ | http://www.joomlalv.org
-
- Joomla! Fledgling
- Posts: 1
- Joined: Sat May 19, 2007 3:34 pm
- Location: Arnhem, Kingdom of the Netherlands
Re: Joomla! mobile template!
I got the following from somewhere ... Is the best one I found so far. Just put the code below in a "mobdetect.php" or something and require or include the file in your /index.phpYet its not specific for Joomla. There might be something better like an extension out there :-)
Code: Select all
<?php
$mobile_browser = '0';
if(preg_match('/(up.browser|up.link|mmp|symbian|smartphone|midp|wap|phone|vodafone|o2|pocket|mobile|pda|psp)/i',strtolower($_SERVER['HTTP_USER_AGENT']))){
$mobile_browser++;
}
if(((strpos(strtolower($_SERVER['HTTP_ACCEPT']),'text/vnd.wap.wml')>0) or (strpos(strtolower($_SERVER['HTTP_ACCEPT']),'application/vnd.wap.xhtml+xml')>0)) or ((isset($_SERVER['HTTP_X_WAP_PROFILE']) or isset($_SERVER['HTTP_PROFILE'])))){
$mobile_browser++;
}
$mobile_ua = strtolower(substr($_SERVER['HTTP_USER_AGENT'],0,4));
$mobile_agents = array('acs-','alav','alca','amoi','audi','aste','avan','benq','bird','blac','blaz','brew','cell','cldc','cmd-','dang','doco','eric','hipt','htc','inno','ipaq','java','jigs','kddi','keji','leno','lg-c','lg-d','lg-g','lge-','maui','maxo','midp','mits','mmef','mobi','mot-','moto','mwbp','nec-','newt','noki','oper','opwv','palm','pana','pant','pdxg','phil','play','pluc','port','prox','qtek','qwap','sage','sams','sany','sch-','sec-','send','seri','sgh-','shar','sie-','siem','smal','smar','sony','sph-','symb','t-mo','teli','tim-','tosh','tsm-','upg1','upsi','vk-v','voda','wap-','wapa','wapi','wapp','wapr','webc','winw','winw','xda','xda-');
if(in_array($mobile_ua,$mobile_agents)){
$mobile_browser++;
}
if($mobile_browser>0){
header ("Location: http://mobile.yoururl.com/"); // is a mobile device
exit;
}else{
// not a mobile, thus continue...
}
?>
Last edited by Bouvrie on Sat May 19, 2007 3:44 pm, edited 1 time in total.
- tfuller
- Joomla! Enthusiast
- Posts: 218
- Joined: Tue Sep 20, 2005 11:30 pm
- Location: Oregon
- Contact:
Re: Joomla! mobile template!
Thanks! I'll try it out.
Author of component Joomla Bible Study:
http://www.JoomlaBibleStudy.org
http://www.JoomlaBibleStudy.org
-
- Joomla! Fledgling
- Posts: 1
- Joined: Sat Apr 14, 2007 11:14 pm
Re: Joomla! mobile template!
Bouvrie wrote: I got the following from somewhere ... Is the best one I found so far. Just put the code below in a "mobdetect.php" or something and require or include the file in your /index.phpYet its not specific for Joomla. There might be something better like an extension out there :-)Code: Select all
<?php $mobile_browser = '0'; if(preg_match('/(up.browser|up.link|mmp|symbian|smartphone|midp|wap|phone|vodafone|o2|pocket|mobile|pda|psp)/i',strtolower($_SERVER['HTTP_USER_AGENT']))){ $mobile_browser++; } if(((strpos(strtolower($_SERVER['HTTP_ACCEPT']),'text/vnd.wap.wml')>0) or (strpos(strtolower($_SERVER['HTTP_ACCEPT']),'application/vnd.wap.xhtml+xml')>0)) or ((isset($_SERVER['HTTP_X_WAP_PROFILE']) or isset($_SERVER['HTTP_PROFILE'])))){ $mobile_browser++; } $mobile_ua = strtolower(substr($_SERVER['HTTP_USER_AGENT'],0,4)); $mobile_agents = array('acs-','alav','alca','amoi','audi','aste','avan','benq','bird','blac','blaz','brew','cell','cldc','cmd-','dang','doco','eric','hipt','htc','inno','ipaq','java','jigs','kddi','keji','leno','lg-c','lg-d','lg-g','lge-','maui','maxo','midp','mits','mmef','mobi','mot-','moto','mwbp','nec-','newt','noki','oper','opwv','palm','pana','pant','pdxg','phil','play','pluc','port','prox','qtek','qwap','sage','sams','sany','sch-','sec-','send','seri','sgh-','shar','sie-','siem','smal','smar','sony','sph-','symb','t-mo','teli','tim-','tosh','tsm-','upg1','upsi','vk-v','voda','wap-','wapa','wapi','wapp','wapr','webc','winw','winw','xda','xda-'); if(in_array($mobile_ua,$mobile_agents)){ $mobile_browser++; } if($mobile_browser>0){ header ("Location: http://mobile.yoururl.com/"); // is a mobile device exit; }else{ // not a mobile, thus continue... } ?>
that works great, thanx!!!
-
- Joomla! Apprentice
- Posts: 16
- Joined: Fri Dec 29, 2006 7:05 pm
Re: Joomla! mobile template!
Here is a short how-to.
http://calgarycmssolutions.com/content/view/44/46/
http://calgarycmssolutions.com/content/view/44/46/
-
- Joomla! Champion
- Posts: 7018
- Joined: Wed Nov 22, 2006 3:35 pm
- Location: Nebraska
- Contact:
Re: Joomla! mobile template!
Those of you exploring mobi and Joomla! -
I want to point out this post: dot mobi and joomla development where sa247 who built the Love My Poker mobi site with Joomla!, is looking to work with others to "to help move forward a joomla dot mobi solution for everyone to use."
Thanks for considering!
Amy
I want to point out this post: dot mobi and joomla development where sa247 who built the Love My Poker mobi site with Joomla!, is looking to work with others to "to help move forward a joomla dot mobi solution for everyone to use."
Thanks for considering!
Amy
-
- Joomla! Explorer
- Posts: 271
- Joined: Sat Sep 16, 2006 8:50 pm
- Location: San Antonio, Texas
- Contact:
Re: Joomla! mobile template!
hi guys,
awesome post glad people are taking to joomla and cell phone layouts - i like that layout!
not sure if it is a concern of yours though but check the site with the dot mobi ready report and you will notice a couple of issues that are minor. This report tests the mobile-readiness of your site using industry best practices & standards.
test link ---> http://ready.mobi/launch.jsp?locale=en_EN
We are working on a layout that meets all the standards required, the http://www.lmpoker.mobi, was until a few days meeting all but one of the criteria, client changed the site!
We are going to take the site and put it on another domain as a demo site but with the correct standards in place.
Since creating this initial site we have fixed some of the issues we had originally with this site and are about to design another one that we want to make 100% compatible.
Any input or comments greatly appreciated.
awesome post glad people are taking to joomla and cell phone layouts - i like that layout!
not sure if it is a concern of yours though but check the site with the dot mobi ready report and you will notice a couple of issues that are minor. This report tests the mobile-readiness of your site using industry best practices & standards.
test link ---> http://ready.mobi/launch.jsp?locale=en_EN
We are working on a layout that meets all the standards required, the http://www.lmpoker.mobi, was until a few days meeting all but one of the criteria, client changed the site!
We are going to take the site and put it on another domain as a demo site but with the correct standards in place.
Since creating this initial site we have fixed some of the issues we had originally with this site and are about to design another one that we want to make 100% compatible.
Any input or comments greatly appreciated.
-
- Joomla! Apprentice
- Posts: 27
- Joined: Tue Sep 19, 2006 8:09 pm
Re: Joomla! mobile template!
How do you require .....code for?
zarbizarre wrote:Bouvrie wrote: I got the following from somewhere ... Is the best one I found so far. Just put the code below in a "mobdetect.php" or something and require or include the file in your /index.phpYet its not specific for Joomla. There might be something better like an extension out there :-)Code: Select all
<?php $mobile_browser = '0'; if(preg_match('/(up.browser|up.link|mmp|symbian|smartphone|midp|wap|phone|vodafone|o2|pocket|mobile|pda|psp)/i',strtolower($_SERVER['HTTP_USER_AGENT']))){ $mobile_browser++; } if(((strpos(strtolower($_SERVER['HTTP_ACCEPT']),'text/vnd.wap.wml')>0) or (strpos(strtolower($_SERVER['HTTP_ACCEPT']),'application/vnd.wap.xhtml+xml')>0)) or ((isset($_SERVER['HTTP_X_WAP_PROFILE']) or isset($_SERVER['HTTP_PROFILE'])))){ $mobile_browser++; } $mobile_ua = strtolower(substr($_SERVER['HTTP_USER_AGENT'],0,4)); $mobile_agents = array('acs-','alav','alca','amoi','audi','aste','avan','benq','bird','blac','blaz','brew','cell','cldc','cmd-','dang','doco','eric','hipt','htc','inno','ipaq','java','jigs','kddi','keji','leno','lg-c','lg-d','lg-g','lge-','maui','maxo','midp','mits','mmef','mobi','mot-','moto','mwbp','nec-','newt','noki','oper','opwv','palm','pana','pant','pdxg','phil','play','pluc','port','prox','qtek','qwap','sage','sams','sany','sch-','sec-','send','seri','sgh-','shar','sie-','siem','smal','smar','sony','sph-','symb','t-mo','teli','tim-','tosh','tsm-','upg1','upsi','vk-v','voda','wap-','wapa','wapi','wapp','wapr','webc','winw','winw','xda','xda-'); if(in_array($mobile_ua,$mobile_agents)){ $mobile_browser++; } if($mobile_browser>0){ header ("Location: http://mobile.yoururl.com/"); // is a mobile device exit; }else{ // not a mobile, thus continue... } ?>
that works great, thanx!!!
-
- Joomla! Enthusiast
- Posts: 131
- Joined: Sat Apr 14, 2007 9:16 am
- Location: Armenia
- Contact:
Re: Joomla! mobile template!
Look at the simple way: PDA-mambot.
Last edited by Physicist on Thu Jun 07, 2007 11:30 am, edited 1 time in total.
-
- Joomla! Fledgling
- Posts: 2
- Joined: Fri Feb 03, 2006 1:47 am
Re: Joomla! mobile template!
The link to PDA-Mambot is not working!!!
I would appreciate any info to dowload this mambot
Thanks!!
I would appreciate any info to dowload this mambot
Thanks!!
-
- Joomla! Enthusiast
- Posts: 131
- Joined: Sat Apr 14, 2007 9:16 am
- Location: Armenia
- Contact:
Re: Joomla! mobile template!
There was a failure on a server therefore a site some days did not work. Now the site functions normally.
Just in case, here the link to mambot's page on joomlacode: http://joomlacode.org/gf/project/pda/
Just in case, here the link to mambot's page on joomlacode: http://joomlacode.org/gf/project/pda/
-
- Joomla! Apprentice
- Posts: 16
- Joined: Mon Jun 25, 2007 11:35 am
Re: Joomla! mobile template!
Great work, Physicist!
Is there any way to disable images in the template? All my articles have images, but I don't want these to be show in the WAP-version of my site, because they take too long to load. But how do I do this?
Best,
Hans Mikkelsen
Is there any way to disable images in the template? All my articles have images, but I don't want these to be show in the WAP-version of my site, because they take too long to load. But how do I do this?
Best,
Hans Mikkelsen
-
- Joomla! Enthusiast
- Posts: 131
- Joined: Sat Apr 14, 2007 9:16 am
- Location: Armenia
- Contact:
Re: Joomla! mobile template!
http://physicist.phpnet.us/2007/06/22/p ... omment-102hansmik wrote: Is there any way to disable images in the template?
-
- Joomla! Apprentice
- Posts: 5
- Joined: Wed Mar 12, 2008 8:12 pm
- Contact:
Re: Joomla! mobile template!
Will the generated code be XHTML compliant via the w3c verify website?
Signature rules: Literal URLs only - http://forum.joomla.org/viewtopic.php?f=8&t=65
-
- Joomla! Apprentice
- Posts: 10
- Joined: Sat Jul 05, 2008 9:09 am
Re: Joomla! mobile template!
The script works great, it redirects, but I have 1 question about the header redirection location. Is it possible to redirect to the same site but with a different template? what URL i need to give to redirect to the same site but changing the layout? Im asking this because i dont think its a good solution having 2 joomlas running :-S
-
- Joomla! Apprentice
- Posts: 10
- Joined: Sat Jul 05, 2008 9:09 am
Re: Joomla! mobile template!
I got 1 question, imagine i create a link in the mobile version saying, "see site full version"... how can I go there and bypass the redirecting script, I tryed many thing but because the script is included in the index.php of main site it always checks if its mobile...
any ideas?
any ideas?
-
- Joomla! Intern
- Posts: 52
- Joined: Mon Mar 15, 2010 11:24 am
- Location: Durban, South Africa
Re: Joomla! mobile template!
good day I am also trying to create a mobile site but i have no idea where to begin, i have not been using joomla for long , can anyone help me
thanks
thanks
-
- Joomla! Fledgling
- Posts: 2
- Joined: Tue Jun 01, 2010 9:18 pm
Re: Joomla! mobile template!
Here's a great mobile theme that works straight out of the box, I've installed it on a site with the demo data and worked perfectly.
All you need to do is tweak the CSS and you're done.
http://themeforest.net/item/joomla-mobi ... heme/16040
All you need to do is tweak the CSS and you're done.
http://themeforest.net/item/joomla-mobi ... heme/16040
iPod Repair
http://www.ipodrepair.co.uk
http://www.ipodrepair.co.uk
-
- Joomla! Explorer
- Posts: 365
- Joined: Tue Aug 21, 2007 4:23 pm
Re: Joomla! mobile template!
for all you still struggling over this question may i suggest you just install and enable
plg mobile bot, it works out of the box on all phones no need to config anything or mess with any code, its even shown to be far better then the "mobile joomla" component, FAR BETTER
try it on my site, nothing live yet but it is running the mobile bot plugin, FYI on blackberrys the pics dont scroll this is a bb problem not joomla
works flawless on android phones
http://www.realityoneradio.com/ztek/myspec
plg mobile bot, it works out of the box on all phones no need to config anything or mess with any code, its even shown to be far better then the "mobile joomla" component, FAR BETTER
try it on my site, nothing live yet but it is running the mobile bot plugin, FYI on blackberrys the pics dont scroll this is a bb problem not joomla
works flawless on android phones
http://www.realityoneradio.com/ztek/myspec
Whats Wrong With It? All I Did Was Change That One Line Of Code!
-
- Joomla! Fledgling
- Posts: 1
- Joined: Sat Dec 24, 2011 8:08 pm
Re: Joomla! mobile template!
hello all,
after i enabled mobilebot i got this error
in mobilebot.php line 173 its written
for a newbie i dont really know what to do rite now
Any help is appreciated, thanks.
after i enabled mobilebot i got this error
Code: Select all
Fatal error: Call to a member function isAdmin() on a non-object in C:\xampp\htdocs\Joomla\plugins\system\mobilebot\mobilebot.php on line 173
Code: Select all
if ($mainframe->isAdmin()) return;
Any help is appreciated, thanks.
-
- Joomla! Fledgling
- Posts: 4
- Joined: Sun Feb 06, 2011 1:37 am
Re: Joomla! mobile template!
just remove the directory where mobile.php is.