Koha/koha-tmpl/intranet-tmpl/prog/en/modules/tools
Owen Leonard 5fc6bedaa7
Bug 34894: Convert OpacSuppressionMessage system preference to HTML customization
This patch moves the OpacSuppressionMessage system preference into HTML
customizations, making it possible to have language- and library-specific
content.

To test you should have some content in the OpacSuppressionMessage
system preference before applying the patch. Apply the patch and run the
database update process.

- In the staff interface, locate a bibliographic record and open it for
  editing.
- Under tab 9, tag 942, change subfield n, "Suppress in OPAC", to "Yes"
  and save the record.

- Go to the OPAC and try to navigate directly to the bibliographic
  detail page for that record:
  /cgi-bin/koha/opac-detail.pl?biblionumber=X
- You should be redirectd to the "Blocked" page. Under the message "You
  are not authorized to view this record" you should see the content
  which was previously in the OpacSuppressionMessage system preference.

- In the staff client, go to Tools -> HTML customizations and verify
  that the content from OpacSuppressionMessage is now stored there.
- The HTML customization entry form should offer OpacSuppressionMessage
  as a choice under "Display location."
- Update and reinstall active translations (for instance fr-FR):
  - perl misc/translator/translate update fr-FR
  - perl misc/translator/translate install fr-FR
- Enable the translation if necessary under Administration -> System
  preferences -> language.
- Enable the "opaclanguagesdisplay" preference if necessary.
- Edit the OpacSuppressionMessage HTML customization and add unique
  content to the "fr-FR" tab.

- Go to the OPAC and switch to your updated translation. Try to view
  the suppressed record again and confirm that the content you added
  for your translation shows up correctly.
- Go to Administration -> System preferences and search for
  "OpacSuppression." The description of these preferences should show an
  updated message about using HTML customizations to create
  OpacSuppressionMessage content.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-11-09 10:15:02 -03:00
..
access_files.tt Bug 34796: Improve translation of title tags: Tools - Additional tools 2023-10-09 11:41:22 -03:00
additional-contents.tt Bug 34894: Convert OpacSuppressionMessage system preference to HTML customization 2023-11-09 10:15:02 -03:00
automatic_item_modification_by_age.tt Bug 35198: Sort database column names alphabetically on automatic item modification page 2023-11-08 11:41:17 -03:00
batch_delete_records.tt Bug 34773: Improve translation of title tags: Cataloging tools 2023-11-06 08:42:44 -03:00
batch_extend_due_dates.tt Bug 26978: Add item type option to batch extend due date tool 2023-10-11 12:13:03 -03:00
batch_record_modification.tt Bug 34773: Improve translation of title tags: Cataloging tools 2023-11-06 08:42:44 -03:00
batchMod-del.tt Bug 34773: Improve translation of title tags: Cataloging tools 2023-11-06 08:42:44 -03:00
batchMod-edit.tt Bug 34773: Improve translation of title tags: Cataloging tools 2023-11-06 08:42:44 -03:00
batchMod.tt Bug 34773: Improve translation of title tags: Cataloging tools 2023-11-06 08:42:44 -03:00
cleanborrowers.tt Bug 15504: Remove PatronLastActivity preference 2023-10-24 10:05:22 -03:00
csv-profiles.tt Bug 35043: Do not have \n or \t appear in PO files 2023-10-27 16:45:52 -03:00
export.tt Bug 34773: Improve translation of title tags: Cataloging tools 2023-11-06 08:42:44 -03:00
holidays.tt Bug 34796: Improve translation of title tags: Tools - Additional tools 2023-10-09 11:41:22 -03:00
import_borrowers.tt Bug 34098: Improve translation of some strings in the patron import template 2023-11-01 17:23:24 -03:00
inventory.tt Bug 34773: (follow-up) Missed templates 2023-11-06 08:42:45 -03:00
letter.tt Bug 32986: (QA follow-up) Rename notices module 2023-11-08 17:59:36 -03:00
manage-marc-import.tt Bug 34773: Improve translation of title tags: Cataloging tools 2023-11-06 08:42:44 -03:00
marc_modification_templates.tt Bug 34773: Improve translation of title tags: Cataloging tools 2023-11-06 08:42:44 -03:00
modborrowers.tt Bug 33927: Improve translation of title tags: Tools 2023-09-22 10:52:49 -03:00
overduerules.tt Bug 33927: Improve translation of title tags: Tools 2023-09-22 10:52:49 -03:00
page.tt Bug 31383: Create a parent-child DB relation for additional content 2023-10-20 14:43:56 -03:00
picture-upload.tt Bug 33927: Improve translation of title tags: Tools 2023-09-22 10:52:49 -03:00
preview_letter.tt Bug 33927: Improve translation of title tags: Tools 2023-09-22 10:52:49 -03:00
problem-reports.tt Bug 34796: Improve translation of title tags: Tools - Additional tools 2023-10-09 11:41:22 -03:00
quotes-upload.tt Bug 34796: Improve translation of title tags: Tools - Additional tools 2023-10-09 11:41:22 -03:00
quotes.tt Bug 34796: Improve translation of title tags: Tools - Additional tools 2023-10-09 11:41:22 -03:00
scheduler.tt Bug 34796: Improve translation of title tags: Tools - Additional tools 2023-10-09 11:41:22 -03:00
showdiffmarc.tt Bug 34773: (follow-up) Missed templates 2023-11-06 08:42:45 -03:00
stage-marc-import.tt Bug 34773: Improve translation of title tags: Cataloging tools 2023-11-06 08:42:44 -03:00
stockrotation.tt Bug 34773: Improve translation of title tags: Cataloging tools 2023-11-06 08:42:44 -03:00
tools-home.tt Bug 33927: Improve translation of title tags: Tools 2023-09-22 10:52:49 -03:00
upload-images.tt Bug 34773: (follow-up) Missed templates 2023-11-06 08:42:45 -03:00
upload.tt Bug 34796: Improve translation of title tags: Tools - Additional tools 2023-10-09 11:41:22 -03:00
viewlog.tt Bug 34796: Improve translation of title tags: Tools - Additional tools 2023-10-09 11:41:22 -03:00