https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11251
--- Comment #2 from Marc Véron <[email protected]> --- Workaround: The body tag of OPAC pages contains a class="branch-CPL" (where CPL is the branch code.) You can use that for a CSS trick to show/hide contents depending on the branch. For a proof of concept, put the following into OpacMainUserBlock: <div class="contentCPL" style="display:none;"> <h1> My custom content for CPL</h1> <p>Text for CPL</p> </div> <div class="contentFFL" style="display:none;"> <h1> My custom content for FFL</h1> <p>Text for FFL</p> </div> ...and put the following into OPACUserCSS .branch-CPL .contentCPL { display:block !important; } .branch-FFL .contentFFL { display:block !important; } Switch between branches - the content will appear as appropriate. Marc -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
