[Koha-patches] [PATCH] Bug 10151 - OpacRightSidebar missing from OPAC pref file

Owen Leonard oleonard at myacpl.org
Mon Apr 29 18:13:13 CEST 2013


The OpacRightSidebar system preference appears under "Local use" instead
of "OPAC." This patch adds the necessary configuration details to
opac.pref

To test, apply the patch and view the OPAC tab in system preferences.
The OpacRightSidebar preference should appear there.
---
 .../prog/en/modules/admin/preferences/opac.pref    |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref
index d1225b4..9c90359 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref
@@ -215,6 +215,11 @@ OPAC:
               type: textarea
               class: code
         -
+            - "Show the following HTML in the right hand column of the main page (under the login form if present):"
+            - pref: OpacRightSidebar
+              type: textarea
+              class: code
+        -
             - "Include the following HTML in the header of all pages in the OPAC:"
             - pref: opacheader
               type: textarea
-- 
1.7.9.5


More information about the Koha-patches mailing list