Hi, strange thing happened, for a short period of time last month our website (j2.5, mj1.2. started to appear in mobile view even for desktop users, even though it probably didn't last long, those users are stuck with mobile template (the cookie doesn't seem to ever expire). I know that it can be fixed by deleting cookies but there is no way we can explain that to our users (a big website). Is it possible to reset the cookie or force update/ignore? Any other solution? To make the matters worse we don't allow manual template switching as we use Mobile Joomla merely for image downscaling (the template is responsive and doesn't need switching) so those users have no way of switching to desktop view. Thank you for any help.
Solved by renaming the cookie (mjmarkup) in plugins/system/mobilebot/mobilebot.php and administrator/components/com_mobilejoomla/mobilejoomla.html.php
Hi
I am having the same issue. All a bit new to me this but can i ask if you changed mjmarkup as shown below to something different like my cookie for example like I've done in the version below that
if($markup === false && isset($_COOKIE['mjmarkup']))
$markup = self::CheckMarkup($_COOKIE['mjmarkup']);
if($markup === false && isset($_COOKIE['mycookie']))
$markup = self::CheckMarkup($_COOKIE['mycookie']);
Thanks in advance
Shaun
I am having the same issue. All a bit new to me this but can i ask if you changed mjmarkup as shown below to something different like my cookie for example like I've done in the version below that
if($markup === false && isset($_COOKIE['mjmarkup']))
$markup = self::CheckMarkup($_COOKIE['mjmarkup']);
if($markup === false && isset($_COOKIE['mycookie']))
$markup = self::CheckMarkup($_COOKIE['mycookie']);
Thanks in advance
Shaun
Yes, basically replace all the "mjmarkup" references in the files mentioned with something else.
You sir are awesome. I've been trying to fix that for days. People have been saying the mobile version looks great but not on my desktop and it looks like you have just fixed it for me
Go grab a beer on me
Regards
Shaun
Go grab a beer on me
Regards
Shaun
Happy to help! It took me a while to figure it out as well. Of course it might very well break again as this merely bypasses the issue when you somehow find out it is broken. I think devs should take notice as this clearly can happen and is hard to spot (I never saw it on any of my devices but received reports and was able to verify it on another affected desktop) without user reporting it to site admin which very few people do.
Hmmm that was short lived lol. Now only mobile version shows on desktop and mobile and iPad.
It did work for ten minutes though
Any other ideas?
Thanks
Shaun
Cancel the above comment
I missed one of the mjmarkups
It did work for ten minutes though
Any other ideas?
Thanks
Shaun
Cancel the above comment
I missed one of the mjmarkups
I am not sure about this.... Hmmm