6.0.0-alpha14
7/1/25

[#7228] wrong default view when using a mobile device
Summary wrong default view when using a mobile device
Queue MIMP
Queue Version 1.1
Type Bug
State Not A Bug
Priority 2. Medium
Owners
Requester agerhard (at) usp (dot) br
Created 08/22/2008 (6157 days ago)
Due
Updated 08/24/2008 (6155 days ago)
Assigned
Resolved 08/24/2008 (6155 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
08/24/2008 09:18:48 PM agerhard (at) usp (dot) br Comment #3 Reply to this comment
Well as I have seen, to correct this problem it is necessary to change 
login.php, not only

configuration or prefs files. I think this is a conceptual "bug". If I 
implement a Webmail

service that is mainly used by normal computer users, but also 
considering the possibility

of mobile device use, I expect that the default behavior in the mobile 
case is to use

a rendering compatible with mobile devices, not the default rendering 
for normal computers.
Configuration files are regular PHP files. Add any logic that you
like to set the configuration values.
08/24/2008 07:49:53 AM Jan Schneider Comment #2
State ⇒ Not A Bug
Reply to this comment
Configuration files are regular PHP files. Add any logic that you like 
to set the configuration values.
08/22/2008 06:09:29 PM agerhard (at) usp (dot) br Comment #1
Priority ⇒ 2. Medium
Patch ⇒ No
Milestone ⇒
Queue ⇒ MIMP
Summary ⇒ wrong default view when using a mobile device
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
When I log from a mobile phone (BlackBerry in my case), the default 
"view" (as defined by force_view and select_view = false) is dimp, 
which is not appropriate (it renders badly). With I really want is that

when using a mobile device, the default/forced view is mimp. But only 
if the user access from a mobile device.



If I define "select_view" as true, then I have to choose the view in 
the login page, with the possibility of annoying users if they choose 
the view incorrectly.



The point is that I am obliged to define a view (by the variable 
"force_view") . I would like instead to have a default view for mobile 
devices and other default view for normal computers.



I think that this problem occurs because the variables select_view and 
force_view are coupled. Maybe the

way to solve this is to have two "force_view" variables, one for 
mobile and another for normal use.

Then, I could have, for example, "force_view_mobile" = mimp and 
"force_view" = dimp. The decision

of using one or another is then made by the detection routines (isMobile()).




Saved Queries