Closed (fixed)
Project:
Mobile Theme
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Feb 2013 at 08:05 UTC
Updated:
31 May 2015 at 20:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
pglynn commentedThis issue occurs in mobile_theme.module version 7.x-1.2 as well. I changed line 162 of mobile_theme.module to match the above and the problem went away. The mobile theme was sending all browsers to the mobile site.
Comment #2
robloachComment #3
robloachComment #4
jarodms commentedI was seeing the same problem. patch in #2 works for me.
Comment #4.0
jarodms commentedMade a mistake with the filename, renamed mobile_theme.api.php to mobile_theme.module
Comment #5
balakumarjayapal commentedFor Drupal 6
Solved my issue by changing line 101 in mobile_theme.module
return $browser['ismobiledevice']=='true';
Comment #6
MakeOnlineShop commentedThank you for Drupal 6 help above.
Comment #7
spidersilk commentedApplying this patch did indeed stop desktop devices from displaying the mobile theme. Unfortunately it also caused mobile devices to start displaying the desktop theme instead!
Has anyone else encountered this? Is there any solution? (Caching is not enabled, so it's not that)
This is the third mobile-switching module that I've tried, and I'm getting really frustrated. It doesn't seem like there's ANY workable solution for making a Drupal site switch to a mobile theme....
Comment #8
robloachCommitted to 7.x-1.x