Bugzilla – Attachment 186938 Details for
Bug 40879
Add system preference to enable/disable the “Cite” option in the OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40879: Added syspref to opac-detail-sidebar.inc
Bug-40879-Added-syspref-to-opac-detail-sidebarinc.patch (text/plain), 1.93 KB, created by
Laura Escamilla
on 2025-09-25 19:10:55 UTC
(
hide
)
Description:
Bug 40879: Added syspref to opac-detail-sidebar.inc
Filename:
MIME Type:
Creator:
Laura Escamilla
Created:
2025-09-25 19:10:55 UTC
Size:
1.93 KB
patch
obsolete
>From 729a67d2edf274ffcbc05b4de0c811d1cfa6e597 Mon Sep 17 00:00:00 2001 >From: Laura_Escamilla <laura.escamilla@bywatersolutions.com> >Date: Thu, 25 Sep 2025 18:38:17 +0000 >Subject: [PATCH] Bug 40879: Added syspref to opac-detail-sidebar.inc > >1. Apply the patch. Use updatedatabase and restart_all >2. Go to System Preferences and search for OpacCiteModal. It is currently set to Disable. >3. Go to the Opac and ensure that the Cite feature is not displaying in the detailed bibliographic record. >4. Now go to the System Preferences and Enable OpacCiteModal. >5. Go back to the Opac and ensure that the Cite feature is displaying correctly again in the detailed bibliographic record. Please also ensure that the Cite modal works as originally designed. >6. Sign off and have a great day! >--- > .../bootstrap/en/includes/opac-detail-sidebar.inc | 8 +++++--- > 1 file changed, 5 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-detail-sidebar.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-detail-sidebar.inc >index 03e74f148c..c8f51b1f43 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-detail-sidebar.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-detail-sidebar.inc >@@ -22,9 +22,11 @@ > <li > ><a class="print-large btn btn-link btn-lg" href="#"><i class="fa fa-fw fa-print" aria-hidden="true"></i> Print</a></li > > >- <li >- ><a class="cite btn btn-link btn-lg" href="#" id="cite" data-bs-toggle="modal" data-bs-target="#citeModal"><i class="fa fa-fw fa-quote-left" aria-hidden="true"></i> Cite</a></li >- > >+ [% IF Koha.Preference('OpacCiteModal') %] >+ <li >+ ><a class="cite btn btn-link btn-lg" href="#" id="cite" data-bs-toggle="modal" data-bs-target="#citeModal"><i class="fa fa-fw fa-quote-left" aria-hidden="true"></i> Cite</a></li >+ > >+ [% END %] > > [% IF Koha.Preference( 'opacuserlogin' ) == 1 %] > [% IF artreqpossible %] >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 40879
:
186928
|
186929
|
186930
|
186931
|
186932
|
186933
|
186935
|
186936
|
186937
| 186938 |
186939
|
186940
|
186941