Re: [Koha] CCSR and PROG
> 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 ___ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Re: [Koha] CCSR and PROG
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 mailto:oleon...@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-Yrjhohs7nKqemjqqb2bzxEVd7bVEVdETKUYCC-OCrmRI_zZwxYq0GsSOtbtW3pKsSOtbtW3pJVNB6UVd_HYO-Uy-ZRXBQQT6uspsppoVqWdAklkrIYG7DR8OJMddECQjt-hojuv78I9CzATsS02lbrpo_w09KF_RxIk0kGmSON_00jqqqa9I5-Aq83iS1liuCBQQg2gAc0IQgr10Qg1o5xw96XCMpsl ___ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Re: [Koha] CCSR and PROG
> 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 ___ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha