I have Mobile Theme 6.x-1.x-dev with Browscap 6.x-1.0. On my iphone it switches consistently to the mobile theme I am using (modified Bluemarine) on every page except for the front page, which always reverts to the default theme for the site. You can try it here: www.opensourcetheology.net. Is there a reason for this or is it a bug?

Comments

Drupalized’s picture

Priority: Normal » Critical

same problem

robloach’s picture

This could be because the whole page is cached and Drupal dishes out the rendered HTML without even checking the browser capabilities. Are you using Aggressive caching?

alfaguru’s picture

I havene't checked the D6 version but the D5 version of this module is incompatible with any form of caching.

00091701’s picture

Version: 6.x-1.x-dev » 7.x-1.2

Hi,

I have the same problem on drupal 7.
If I request "domain" I got the website with the default theme. After click "reload" or click on a menu item i got the correct mobile theme.

Regards,
David

natuk’s picture

The same problem applies here. Also, one user reported that at some stage the mobile theme appeared on the front page of his desktop browser.

natuk’s picture

Posted too fast: Turning off cache for anonymous users in Performance solves the problem. Discussion here: http://drupal.org/node/1302982