Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
This module works only for registered users (without Drupal cache). Is there a solution to this problem?
Thank you in advance!
Comments
Comment #1
quiptime CreditAttribution: quiptime commentedTo check still exist the problem, please use the dev release.
The dev release contains a fix to solve problems if caching enabled. The fix insert cache-clear-actions, which associated with changes in the module configuration.
Please give feedback whether the problem is solved with the fix in the dev release.
Thanks for your report.
Comment #2
Clément CreditAttribution: Clément commentedI realized after beating the module does not work.
I am the wrong module.
I installed the dev version. and configured my mobile theme here: admin/config/user-interface/mobile-switch
The theme is: http://drupal.org/project/mobile_jquery
The cache is currently disabled
When I visit the site with Android version 4, the theme does not change.
I also tested this way ("mobile OK" is displayed):
Comment #3
quiptime CreditAttribution: quiptime commentedI do not understand what you're saying herewith. (Poste Deutsch wenn Dir die Worte fehlen.)
"mobile OK" is displayed or not?
Comment #4
Clément CreditAttribution: Clément commentedSorry, I think that Google Translation misunderstood. (I speak French)
I tested "mobile theme" and not "mobile switch"
With this module, the theme does not change for me (with or without the cache enabled).
Comment #5
quiptime CreditAttribution: quiptime commentedOther modules make a proper switch to a mobile theme?
Mobile Switch - Developer modus
Note, you can use the development features of the Mobile Switch module.
To make this in use, activate the setting Developer modus of the Mobile Switch module.
You can use a Mobile Switch module function to check the detection of your mobile device.
Mobile Switch code to check (Android) extended useragent strings:
Browcap
Furthermore, you can use a Browcap module function to check the detection of your mobile device.
Browscap code to use:
Tip
Use the Devel module and their Execute PHP code feature to use the code above on the fly in your desktop browser.
Comment #6
Clément CreditAttribution: Clément commentedYes: http://drupal.org/project/mobile_theme (but, It does not work when cache is enabled).
The detection works well but the theme does not change.
I tested the tool for development, but the theme does not change either.
Comment #7
quiptime CreditAttribution: quiptime commentedAt the moment, i can not reproduce the problem.
You say, you use the Mobile jQuery Theme.
You can work with the development features of Mobile Switch (MSw) and use the Desktop browser feature.
This makes it possible to display the mobile theme on your desktop browser.
Please test the desktop browser display of the mobile theme and give me feedback.
Known limitation
In principle, the MSw module will work with the cache enabled.
A MSw module configuration change make problems if caching enabled. The changes are not displayed without cache clearing.
This problem is fixed in the dev release of Mobile Switch (MSw).
The Limitation:
A jQuery mobile based theme (as example Mobile jQuery Theme) causes problems for a change of MSw module settings.
These problems are visible when activated a MSw setting for the jQuery mobile based mobile theme, and if this setting is changed.
A (server-side) cache clearing can not solve display problems.
You can test the jQuery mobile caching problem. Use as mobile theme another theme, as example Picture Reloaded.
Then make changes to MSw (use the dev release), with cache enabled - no display problems after setting changes.
Comment #8
Clément CreditAttribution: Clément commentedI found a solution!
(with module : mobile theme)
Comment #9
quiptime CreditAttribution: quiptime commentedComment #10
imonemus CreditAttribution: imonemus commentedSorry to reopen, but I think this is still a problem.
I am using 7.x-2.0-alpha1+2-dev with Mobile Theme (NOT Mobile jQuery Theme) and caching is enabled.
When I clear the cache and first view the site on desktop, I see only the desktop version when I subsequently view on a mobile; when I clear the cache and first view on a mobile, I see only the mobile version when I subsequently view the site on a desktop. The pages are clearly being served out of the cache as they were for the first device type that caused them to be generated.
On the other hand, this is so major that it is odd that everyone isn't complaining about it, so I am willing to assume I am doing something wrong or missing another issue.
Can anyone else reproduce this?
Comment #11
quiptime CreditAttribution: quiptime commentedPlease do not switch the release version!
Create a new issue with the version 7.x-2.x-dev.
Comment #12
imonemus CreditAttribution: imonemus commentedWhy not? The problem wasn't fixed and was carried over to a new version.
Comment #13
imonemus CreditAttribution: imonemus commentedGoto http://drupal.org/node/1854198#comment-6833390
Comment #14
Frank HH-germany CreditAttribution: Frank HH-germany commentedHallo quiptime,
es ist für mich als Fremdsprachenlegastheniker erfreuclich zu lesen, dass ich auch auf deutsch fragen kann.
Ich schaffe es iregndwie nicht den Theme Switch herzustellen.
Ich nutze AT Commerce auf Commerce Kickstart. Die Desktopversion ist mit aktiviertem Cach gut schnell.
(Ich habe natürlich beim rumprobieren auch alles mögliche deaktiviert)
Als Detect Module habe ich Browscap und, oder Mobile Detect. (Das ausblenden von Blöcken auf dem Mobile funktioniert leider auch nur richtig wenn der Cache deaktiviert ist)
Von dem AT Commerce habe ich nach Anleitung ein "Mobisub" erstellt.
Auch das CK Omega Sub-Theme wird nicht angesteuert.
Meine Seite www dot tecmawi dot eu.
Woran kann das liegen?
Was mache ich verkehrt?
Gruß Frank
PS: Ich werde den Cache und Adv css/js Agregation ersmal wieder aktivieren.
Comment #15
MakeOnlineShop CreditAttribution: MakeOnlineShop commentedHello,
Can you confirm that the solution is reliable and stable ?
Thank you.