Posted by omlx on April 15, 2011 at 1:56pm
4 followers
Jump to:
| Project: | Mobile Theme |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
I installed Mobile them in my website ( I am using Drupal 6) but it is doesn't work. I tried many ways to figure out why it does not work but without success. It may be a bug.
Is there any installation instructions that I have to fellow ?
Comments
#1
I assume you didn't state in your settings which theme should be loaded once user comes from a mobile device. There is no dedicated separate page to configure this module, instead you have to go to /admin/build/themes/settings and there in the section "Mobile Theme" select a theme which you want to use for mobile devices. If you do not do this, then it is a default theme by default, so mobile users are served with your main theme and you don't see any changes.
#2
There's a separate issue that could stop his site from feeding the mobile version. If page cache is on, it won't even try to switch themes. I had to patch mobile_theme to allow it to stop the page from caching for if the mobile browser is detected.
I have addressed the caching issue in a fork that I just put up for the dev's review when he has time at http://drupal.org/node/1264504
#3
Page caching isn't the cause for me.
With caching disabled, the correct theme chosen at
admin/build/themes/settings, and "Monitor browsers" enabled atadmin/settings/browscap, I still get the default mobile theme on my device.