Welcome, Guest
Username Password: Remember me

User agent switching on desktop browser doesn't change template
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: User agent switching on desktop browser doesn't change template

User agent switching on desktop browser doesn't change template 12 years, 8 months ago #7603

  • ctecha
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
  • Karma: 1
Hi everybody,

Having an issue when I installed mobile joomla on my site and then I used a user agent switcher in my browser (tried in firefox and chrome) to see the mobile template version of the site but it doesn't switch. I know the user agent switcher is working because if I go to other sites it loads the mobile template of that site. Does anybody know why mobile joomla isn't loading the mobile templates in the desktop browser when I change the user agent to something like iphone?

Thanks

Re: User agent switching on desktop browser doesn't change template 12 years, 8 months ago #7608

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4867
  • Karma: 105
MJ saves mobile mode in cookies, so clear cookies each time you change UA string.

Re: User agent switching on desktop browser doesn't change template 12 years, 8 months ago #7614

  • ctecha
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
  • Karma: 1
Ok didn't know that good information however I just visited the site the first time and tried to the user agent switch and it didn't work for some reason. The only way I can get the mobile site templates to display in the desktop browser is by placing ?device=iphone at the end of the URL. Using a plugin for firefox or chrome doesn't work for this like "User Agent Switcher" for either browser. Any ideas on why that would happen?
  • Page:
  • 1
Time to create page: 0.09 seconds

By continuing to use this site you consent to the use of cookies on your device as described in our cookie policy unless you have disabled them. This site will not function correctly without cookies.

I accept cookies from this site.