Summary: | ability to have different opac styles for different libraries | ||
---|---|---|---|
Product: | Koha | Reporter: | Nicole C. Engard <nengard> |
Component: | Templates | Assignee: | Owen Leonard <oleonard> |
Status: | CLOSED FIXED | QA Contact: | Bugs List <koha-bugs> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | veron |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
See Also: |
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12162 https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6795 |
||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: |
Description
Nicole C. Engard
2011-05-27 18:57:02 UTC
This can currently be achieved via the Apache configuration. Branch specific CSS can be added in opaclayoutstylesheet, OpacAdditionalStylesheet, or OPACUserCSS using the class branch-??? in the body tag, e.g.: <body ID="opac-main" class="branch-CPL" > See: Bug 12162 - Add class="branchcode" to body tag to make OPAC CSS-styleable per branch Ah, even better! Should we close this then? I think closing this bug would bi OK, but maybe it could be documented somewhere in the Koha Manual? Is there a chapter for such information? Or could it go to "P: Extending Koha"? http://translate.koha-community.org/manual/master/en/html-desktop/#extending BTW: We have something similar for the language in the HTML tags: OPAC: <html lang="de_DE" class="no-js"> Oh, it seems to be empty in staff client: <html lang=""> (In reply to Marc Véron from comment #5) (...) > Oh, it seems to be empty in staff client: > <html lang=""> ...only on page Home > Administration > System preferences On other pages it is OK: <html lang="en"> Maybe as a starting point we could put an example on a wiki page. Reading through the bug comments this appears to be resolved by different options to add CSS that is different depending on the library. |