Needs work
Project:
Context Mobile Detect
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
27 Sep 2012 at 10:15 UTC
Updated:
3 Dec 2012 at 09:03 UTC
Jump to comment: Most recent
Comments
Comment #1
fabianx commentedWe discussed this in IRC and here is our approach:
We'll use a JS library for orientation change detection, but start with a simple:
where handleOrientation will set a server side cookie to: FALSE | landscape | portrait
That cookie we will make available in a submodule and allow the page caching like normal:
?type=tablet&orientation=landscacpe
which will then be available in the context as:
"Unknown", "Portrait", "Landscape"
Feel free to trigger a page reload on unknown, but you will need to program this yourself ...
That should solve this issue.
Comment #2
mxtThank you guys for working on this...
Comment #3
mxtI don't know, but may be this module http://drupal.org/project/context_resolution can give some inspiration?
Comment #4
mxtAny news on this?
Thank you