[ 
https://jira.duraspace.org/browse/DS-1375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=26800#comment-26800
 ] 

Ivan Masár commented on DS-1375:
--------------------------------

This issue has been discussed on the 2012-11-07 DevMtg (starting with timestamp 
22:21):

http://irclogs.duraspace.org/index.php?date=2012-11-07

Several alternatives have been suggested (may be used in combination with one 
another):
a) user-agent based browser detection; this has the disadvantage that it 
interferes with caching proxies, currently present detectmobile.js doesn't have 
this problem
b) overriding normal/mobile theme using force-mobile/force-web GET parameters 
of detectmobile.js [1]
c) overriding the theme as usual using xmlui.theme.allowoverrides=true [2] and 
changing the themepath GET parameter; the issue here is that it's per-request, 
not per-session
d) remembering the currently selected theme using a cookie/session variable

Changing between normal/mobile theme on the same URL may also require changes 
in the ThemeMatcher [3].

[1] 
https://github.com/miohtama/detectmobile.js/blob/master/src/detectmobile.js#L80
[2] https://github.com/DSpace/DSpace/blob/master/dspace/config/dspace.cfg#L1714
[3] 
https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/src/main/java/org/dspace/app/xmlui/cocoon/ThemeMatcher.java#L61

                
> mobile dspace theme should be accessible under the "/mobile" URL
> ----------------------------------------------------------------
>
>                 Key: DS-1375
>                 URL: https://jira.duraspace.org/browse/DS-1375
>             Project: DSpace
>          Issue Type: Bug
>          Components: XMLUI
>    Affects Versions: 3.0
>            Reporter: Ivan Masár
>              Labels: mobile-theme
>
> The mobile theme domain is currently hard-wired to be accessible via a 
> http://mobile.example.com domain. We should make it possible to configure it 
> on a http://example.com/mobile/ URL.
> James Russel commented on his experiment with this here:
> https://jira.duraspace.org/browse/DS-1017?focusedCommentId=26293&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-26293

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to