Welcome, Guest
Username Password: Remember me

My Desktop browser showing also mobile version
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: My Desktop browser showing also mobile version

My Desktop browser showing also mobile version 1 year, 8 months ago #21411

  • Ivan-2017
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
  • Karma: 0
Hi

Really like your ext.,but I dont know what I am doing wrong .If I choose Mobile-basic tamplate it look nice in mobile view but desktop is also showing mobile version

Please help

Re: My Desktop browser showing also mobile version 1 year, 8 months ago #21412

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4826
  • Karma: 105
1. Where do you choose Mobile_Basic template? In Mobile Joomla settings (ok) or set it default template (incorrect)?

2. Current mode (mobile or desktop) is stored in user's session, so that if you switched to mobile version using Mobile Switcher module, or via MJ Preview section (without closing preview popup properly), then mobile mode will be used further as well until you manually switch back to desktop version (via Mobile Switcher module, clearing of cookies, or visiting your.website/index.php?device=auto). Do you have Warnings section in the right column of Mobile settings (usually there is a warning displayed if your current mode is not desktop one)?

Re: My Desktop browser showing also mobile version 1 year, 8 months ago #21413

  • Ivan-2017
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
  • Karma: 0
Yes I choose Mobile-basic in Mobile Joomla settings .
Ok I pressed Desktop mode (green button)an now Desktop version is ok but there is NO automatic mobile version ,only if I enter my.website/index.php?device=auto, then it is mobile version

No warnings

I must be stupid and doing something wrong

Re: My Desktop browser showing also mobile version 1 year, 8 months ago #21414

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4826
  • Karma: 105
Version (desktop or mobile) is detected automatically at the moment of a visitor loads your website for the first time, after that it is stored in user's session and may be changed using Mobile Switcher module (in this case the version is additionally stored in cookies to don't reset version after the session expiration).

Re: My Desktop browser showing also mobile version 2 weeks, 2 days ago #21704

  • jamiesmith
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
  • Karma: 0
I got similar when I tried to convert my site from wp to joomla we cant do the change over until its sorted.
Last Edit: 2 weeks ago by dryabov.

Re: My Desktop browser showing also mobile version 2 weeks, 2 days ago #21705

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4826
  • Karma: 105
There are several ways to get mobile version in desktop browser:
1. The device=mobile parameter in URL (e.g. /index.php?device=mobile for homepage). The solution is to load /index.php?device=auto to switch to correct version.
2. The mjmarkup cookie with value of "mobile". The solution is to remove this cookie (load /index.php?device=auto should remove it too). Quite frequently it is happened if user opens website in Preview section and doesn't close it properly (via X button or clicking outside of preview popup). Also, in this case there is a related warning message displayed on MJ settings page.
3. Your browser is recognized as mobile (though it's very unlikely case). Try to open www.mobilejoomla.com/uatest.php in your browser and check the value after "amdd" text, in the case of desktop browser it should be empty string ''.
  • Page:
  • 1
Time to create page: 0.11 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.