Closed (fixed)
Project:
Accessibility
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
17 Sep 2008 at 11:42 UTC
Updated:
15 Oct 2009 at 17:10 UTC
Greetings.
I have setup the module and the mobi theme, but the Opera mobile browser shows a common browser theme.
Adding "oper" to the browser.inc file started blocking the normal browser, naturally.
Adding PPC and sv1 didn't do a thing.
What should I do?
User agents (on an ASUS Windows Mobile 5 phone):
As mobile:
Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; PPC; 240x320) Opera 8.65 [en]
As desktop:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) Opera 8.65 [en]
Thanks.
Comments
Comment #1
jabba_29 commentedHi,
I had to remove PPC as it was conflicting with Safari on Mac.
Current implementation I have installed on my sites has additional trapping for the Opera browser,
but I cannot guarantee to get everything.
It is only lightweight after all..
I don't have access to the core files at the moment, my PC is in a state of semi-disrepair at the moment,
however you can check to see if this line is included in accessibility.php file:
$extra = array ('MIDP', 'symbian', 'phone', 'palm', 'ipaq', 'Googlebot-Mobile');The MIDP should catch the Opera browser on a hand-held in most cases.
You could add CE somehow into the equation but you need to make sure it doesn't conflict with anything else.
As a desktop I don't think there is anyway this module would catch that unless SV1 is specific to that browser/phone, then it can be added to the list...
Comment #2
Yura Filimonov commentedJust to clarify, "As desktop" meant that the mobile phone had the settings to display the site as a desktop browser would. We are not talking about desktop browsing here.
Do I just enter "Windows CE" or I need some characteri in there? Or just "CE"?
Thanks.
Comment #3
jabba_29 commentedProvided that the $extra variable is there,
I would add 'Windows CE' as CE would probably conflict with other non-mobile browsers.
Let us know you get on.
I cannot test all devices, so I know this script falls short on many aspects.
Jamie
Comment #4
dave reidDue to http://drupal.org/node/570956 this module has been marked abandoned and it's issue queue closed.