Download & Extend

Mobile theme not switching for front page

Project:Mobile Theme
Version:7.x-1.2
Component:Code
Category:support request
Priority:critical
Assigned:Unassigned
Status:active

Issue Summary

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

#1

Priority:normal» critical

same problem

#2

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?

#3

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

#4

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

#5

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.

#6

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