I just stood up a brand new test instance of 3.12.06 to experiment with CCSR vs. PROG themes for OPAC. The default PROG works fine, but when I switch to CCSR the OPAC displays completely wrong. Here are 2 screen shots (if you can ignore the TinyPic ads): PROG: http://oi42.tinypic.com/15wlco0.jpg CCSR: http://oi40.tinypic.com/nf4mx2.jpg Tested in FF, Chrome and IE. ===================================== Paul
The default PROG works fine, but when I switch to CCSR the OPAC displays completely wrong.
CCSR requires that you set your opaccolorstylesheet system preference with the value "colors.css" -- Owen -- Web Developer Athens County Public Libraries http://www.myacpl.org
Easy fix, Owen. Thanks! However, that brings up a longstanding confusion: when to use opaccolorstylesheet vs. opaclayoutstylesheet vs. OPACUserCSS? For example, I currently use a custom stylesheet for opaccolorstylesheet in PROG. If I decide on CCSR, which requires opaccolorstylesheet = colors.css, would I then move my custom sheet to opaclayoutstylesheet or would I include it inline with OPACUserCSS? Paul On Oct 29, 2013, at 2:58 PM, Owen Leonard <oleonard@myacpl.org<mailto:oleonard@myacpl.org>> wrote: The default PROG works fine, but when I switch to CCSR the OPAC displays completely wrong. CCSR requires that you set your opaccolorstylesheet system preference with the value "colors.css" -- Owen -- Web Developer Athens County Public Libraries http://cp.mcafee.com/d/k-Kr6x8e4zqbbPdNPwV5ATsSCyMyUUqejhO-Yrjhohs7nKqemjqqb...
However, that brings up a longstanding confusion: when to use opaccolorstylesheet vs. opaclayoutstylesheet vs. OPACUserCSS?
This depends mostly on how much customization you want to do. If you specify something different for opaclayoutstylesheet the default OPAC CSS will not be included. Your custom stylesheet will have to include a full reimplementation of the OPAC's design. If you specify something for opaccolorstylesheet it will be included after (and thus can override) opaclayoutstylesheet. This is usually the way I would recommend users add customizations to their OPAC. OPACUserCSS is useful if you cannot save your CSS customizations to a file on a server somewhere. The contents of OPACUserCSS are included inline on every page in the OPAC, so it's less efficient (won't be cached by users' browsers) but will easily override anything in opaclayoutstylesheet or opaccolorstylesheet. The CCSR theme is a weird case because it repurposes the opaccolorstylesheet preference for its own purposes, the the detriment of those who want to customize. This means that if you want to take advantage of the added efficiency of using the opaccolorstylesheet preference you'll need to copy the contents of CCSR's default colors.css into your custom stylesheet and add your own customizations after that. Or you can do it all in OPACUserCSS. I don't recommend messing with opaclayoutstylesheet. I hope that makes sense. -- Owen -- Web Developer Athens County Public Libraries http://www.myacpl.org
participants (2)
-
Landers, Paul -
Owen Leonard