Bugzilla – Attachment 195205 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 system preference to opac-detail-sidebar.inc
Bug-40879-Added-system-preference-to-opac-detail-s.patch (text/plain), 2.20 KB, created by
David Nind
on 2026-03-12 19:41:12 UTC
(
hide
)
Description:
Bug 40879: Added system preference to opac-detail-sidebar.inc
Filename:
MIME Type:
Creator:
David Nind
Created:
2026-03-12 19:41:12 UTC
Size:
2.20 KB
patch
obsolete
>From ac580959390881196cde1fb5f2e82c81b4ac5e78 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 system preference to opac-detail-sidebar.inc > >1. Apply the patch. Update the database (updatedatabase) and > restart everything (restart_all). >2. Go to Administration > System preferences, and search for > OPACCite. It is set to 'Enable' by default. > --> Check the system preference name and description to make > sure it's written correctly >3. Go to the OPAC and ensure that the Cite feature is displaying > in the detailed bibliographic record. Please also ensure that > the Cite modal works as originally designed. >4. Set the OPACCite system preference to 'Disable'. >5. Go back to the OPAC and ensure that the Cite feature is NOT > displayed in the detailed bibliographic record. >6. Sign off and have a great day! > >Signed-off-by: David Nind <david@davidnind.com> >Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> >--- > .../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
|
190032
|
190033
|
190034
|
190035
|
190036
|
190065
|
190087
|
190088
|
190089
|
190090
|
190091
|
190092
|
194902
|
195185
|
195186
|
195187
|
195188
|
195189
|
195190
|
195191
|
195204
|
195205
|
195206
|
195207
|
195208
|
195209
|
195210
|
195211
|
195212
|
195213
|
195214
|
195215
|
195216
|
195217