I’m in the process of customizing some of the styling for our Koha installation and am running into a bit of a snag with styling on these pages: cgi-bin/koha/opac-reserve.pl cgi-bin/koha/opac-user.pl I’m adding the custom css though the remote “opacstylesheet” option, but this file does not get loaded on the pages mentioned above (there may be more pages, I’m not certain).
I see no problems with those pages when using the opacstylesheet preference. Can you test again? If it's still broken for you perhaps you could pass on the stylesheet for me to test with along with a description of what styles aren't showing up.
I take back what I said before about not seeing it. It wasn't until I examined the logic of the template that I realized how the bug worked. The "opacstylesheet" variable isn't getting passed to the template on the login page. Unfortunately I don't understand why. The OPACUserCSS variable is working fine, for instance. What's different about opacstylesheet?
This is probably a problem with C4::Auth. I will take a look at it. Regards, Jared
Created attachment 3470 [details] [review] Proposed fix Jared is right, and I just wasn't looking in the right place in Auth.pm. There is a separate section in which template variables are declared for the login page. The opacstylesheet variable was missing from that section.
too bad we're late on submitting our patches: i've fixed (with the same fix) on march 17th. So I confirm the problem and the fix (just in case = see branch am123/CRI/MT6039 on git.biblibre.com)
Pushed, please test
This bug is mentioned in: Fix for Bug 5833, opacstylesheet not loading on all pages http://lists.koha-community.org/pipermail/koha-patches/2011-March/014283.html Fix for Bug 5833, opacstylesheet not loading on all pages http://lists.koha-community.org/pipermail/koha-patches/2011-March/014281.html