Closed (fixed)
Project:
Mobile Tools
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
28 Feb 2011 at 11:35 UTC
Updated:
1 Jun 2014 at 03:06 UTC
Jump to comment: Most recent
When I activate mobile tools, and set a mobile homepage, I can't set the Default front page anymore, which is a panel in my case.
When I set the variable in the form, it gets accepted, but the path isn't shown in the entry field afterwards. Unsetting the mobile front page, leaves an invalid front page (not found). Only deactivating the module leads back to normal behavior.
Comments
Comment #1
twom commentedThis is fixed in the dev version of the Mobile Tools module. A new release is upcoming!
Comment #3
str1 commentedI have the same issue still with the newest dev, am I missing something?
Comment #4
WorldFallz commentedYep-- I have the same thing and just refreshed to the current dev.
I'm using 2 different page nodes for the front page. admin/settings/site-information shows the mobile node in both front page text boxes even after I update the core default front page setting. Strange thing is, the variables table has it correct:
No clue where to even begin to troubleshoot this.
Comment #5
WorldFallz commentedLet make the title a bit more descriptive
Comment #6
WorldFallz commentedand update the version
Comment #7
WorldFallz commentedStill trying to fix this. One thing i've noticed-- the mobile home page has settings in two locations:
admin/settings/mobile-tools (in the 'additional settings' fieldset)
and
admin/settings/site-information
So, questions to the maintainer(s):
1. why does the one setting appear in two places?
2. which take precedence?
Comment #8
WorldFallz commentedalso, if i leave the mobile front page blank at admin/settings/site-information and just specify my non-mobile front page -- i get 'page not found' on the home page.
Comment #9
twom commentedHi guys,
Sorry for the delay. I removed the front page setting from the site-information page... This was confusing and had a bug.
The current dev version should be fine now!
Comment #10
twom commentedComment #11
DanielWashbrook commentedI just tried the dev version from May 24. The setting has been removed but the bug is still present. Setting the frontpage for mobile will override the setting for desktop users even though the variables are different. And the setting can only be changed from 'Mobile Tools', the 'Site Information' setting has no effect.
I'm getting the best results from changing the if statement in mobile_tools_boot() from:
if (mobile_tools_site_type() == 'mobile') {
to:
if ($mobile_tools_device['type'] == 'mobile') {
Is this a bad idea?
Thanks!
Comment #13
blogers commentedSome solution for this big bug fix