[Koha-bugs] [Bug 9558] Customize CSS for mobile

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri May 17 19:41:39 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9558

--- Comment #2 from Zachary Spalding <spalding at senylrc.org> ---
The problem with OPACMobileUserCSS from my understanding is a global change. 
In my case I have 15 organizations that are sharing one Koha instance but each
want there own look.  

We the opac.css override I am able to do that for the average computer use and
but now need a way to do this for mobile as well.

I did come up with my own modifications to solve this problem but do not know
enough on how to submit it for inclusion into the Koha code.

Changed Auth.pm
Around line 412 to add support for multiple css for mobile devices
opac_css_override_mobile    => $ENV{'OPAC_CSS_OVERRIDE_MOBILE'},

Changed doc-head-close.inc
Around line28
[% IF ( opac_css_override_mobile ) %]
                <link rel="stylesheet" type="text/css" media="screen and
(max-width:700px)" href="[% themelang %]/css/[% opac_css_override_mobile %]" />
[% END %]


These are my productions examples
http://vassar.koha.senylrc.org
http://hhs.koha.senylrc.org
http://nki.koha.senylrc.org/

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list