Bug 34563

Summary: Move IntranetCirculationHomeHTML to HTML customizations
Product: Koha Reporter: Caroline Cyr La Rose <caroline.cyr-la-rose>
Component: ToolsAssignee: Owen Leonard <oleonard>
Status: Signed Off --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: anneli.osterman, i.tortorella, jheltibridle, lucas, philippe.blouin, raymund.delahunty
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6419
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34561
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Bug 34563: Move IntranetCirculationHomeHTML to HTML customizations
Bug 34563: Move IntranetCirculationHomeHTML to HTML customizations
Bug 34563: (follow-up) Change name of customization
Bug 34563: Move IntranetCirculationHomeHTML to HTML customizations
Bug 34563: (follow-up) Change name of customization
Bug 34563: Move IntranetCirculationHomeHTML to HTML customizations
Bug 34563: (follow-up) Change name of customization
Bug 34563: Move IntranetCirculationHomeHTML to HTML customizations
Bug 34563: (follow-up) Change name of customization
Bug 34563: Move IntranetCirculationHomeHTML to HTML customizations
Bug 34563: (follow-up) Change name of customization
Bug 34563: Move IntranetCirculationHomeHTML to HTML customizations
Bug 34563: (follow-up) Change name of customization

Description Caroline Cyr La Rose 2023-08-17 10:41:08 UTC
Bug 6419 adds some HTML customizations to the staff interface. IntranetCirculationHomeHTML is still a system preference. It would be nice to move it to HTML customizations with the others.
Comment 1 Juliet Heltibridle 2025-03-27 14:36:11 UTC
It has been great being able to customize the cataloging and patron module home pages using HTML customization. Moving from a system preference to the customizations would benefit libraries in consortiums, because it is customizable per library branch. I'd love to see work done on this!
Comment 2 Anneli Österman 2025-06-10 12:31:51 UTC
+1
Comment 3 Owen Leonard 2025-06-10 14:21:51 UTC Comment hidden (obsolete)
Comment 4 Lucas Gass (lukeg) 2025-06-10 16:21:52 UTC Comment hidden (obsolete)
Comment 5 Owen Leonard 2025-06-10 23:05:17 UTC Comment hidden (obsolete)
Comment 6 Owen Leonard 2025-07-21 19:09:01 UTC Comment hidden (obsolete)
Comment 7 Owen Leonard 2025-07-21 19:09:05 UTC Comment hidden (obsolete)
Comment 8 Owen Leonard 2025-11-06 11:55:25 UTC Comment hidden (obsolete)
Comment 9 Owen Leonard 2025-11-06 11:55:28 UTC Comment hidden (obsolete)
Comment 10 Owen Leonard 2026-01-28 16:45:16 UTC Comment hidden (obsolete)
Comment 11 Owen Leonard 2026-01-28 16:45:19 UTC Comment hidden (obsolete)
Comment 12 Ray Delahunty 2026-01-29 07:29:27 UTC
Signoff failed. On an Open Fifth sandbox the new StaffCirculationHomeHTML customisation was there after patch applied and a services restart, and the data had moved from the IntranetCirculationHomeHTML system parameter. But the parameter remained present (empty). Applied a new translation and that worked, but the parameter remained present.

Bug 34563 - Move IntranetCirculationHomeHTML to HTML customizations

192122 - Bug 34563: Move IntranetCirculationHomeHTML to HTML customizations
192123 - Bug 34563: (follow-up) Change name of customization

Apply? [(y)es, (n)o, (i)nteractive] Applying: Bug 34563: Move IntranetCirculationHomeHTML to HTML customizations
Applying: Bug 34563: (follow-up) Change name of customization

DEV atomic update /kohadevbox/koha/installer/data/mysql/atomicupdate/bug-34563-move-IntranetCirculationHome-to-additional-contents.pl  [07:09:39]: Bug 34563 - Move IntranetCirculationHomeHTML to HTML customizations
	Added 'StaffCirculationHomeHTML' HTML customization
	Removed system preference 'IntranetCirculationHomeHTML'
Comment 13 Owen Leonard 2026-01-29 13:05:35 UTC
Created attachment 192143 [details] [review]
Bug 34563: Move IntranetCirculationHomeHTML to HTML customizations

This patch moves the IntranetCirculationHomeHTML system preference into
HTML customizations, making it possible to have language- and
library-specific content.

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

- In the staff client, go to Tools -> HTML customizations and verify
  that the content from IntranetCirculationHomeHTML is now stored there.
- The HTML customization entry form should offer
  IntranetCirculationHomeHTML 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.
- Edit the IntranetCirculationHomeHTML HTML customization and add unique
  content to the "fr-FR" tab.

- Go to the circulation home page. You should see the
  content you added to the IntranetCirculationHomeHTML HTML
  customization.
- Switch to your updated translation and confirm that the content you
  added for your translation shows up correctly.
- Go to Administration -> System preferences and search for
  "IntranetCirculationHomeHTML." It should return no results.

Sponsored-by: Athens County Public Libraries
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Comment 14 Owen Leonard 2026-01-29 13:05:38 UTC
Created attachment 192144 [details] [review]
Bug 34563: (follow-up) Change name of customization

Based on feedback on Bug 34561, this patch renames the HTML
customization from IntranetCirculationHomeHTML to
StaffCirculationHomeHTML.

It also removes the "page-section" class from the display of the custom
content.

Sponsored-by: Athens County Public Libraries
Comment 15 Biblibre Sandboxes 2026-01-29 16:05:26 UTC
Created attachment 192162 [details] [review]
Bug 34563: Move IntranetCirculationHomeHTML to HTML customizations

This patch moves the IntranetCirculationHomeHTML system preference into
HTML customizations, making it possible to have language- and
library-specific content.

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

- In the staff client, go to Tools -> HTML customizations and verify
  that the content from IntranetCirculationHomeHTML is now stored there.
- The HTML customization entry form should offer
  IntranetCirculationHomeHTML 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.
- Edit the IntranetCirculationHomeHTML HTML customization and add unique
  content to the "fr-FR" tab.

- Go to the circulation home page. You should see the
  content you added to the IntranetCirculationHomeHTML HTML
  customization.
- Switch to your updated translation and confirm that the content you
  added for your translation shows up correctly.
- Go to Administration -> System preferences and search for
  "IntranetCirculationHomeHTML." It should return no results.

Sponsored-by: Athens County Public Libraries
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Ray <raymund.delahunty@outlook.com>
Comment 16 Biblibre Sandboxes 2026-01-29 16:05:29 UTC
Created attachment 192163 [details] [review]
Bug 34563: (follow-up) Change name of customization

Based on feedback on Bug 34561, this patch renames the HTML
customization from IntranetCirculationHomeHTML to
StaffCirculationHomeHTML.

It also removes the "page-section" class from the display of the custom
content.

Sponsored-by: Athens County Public Libraries
Signed-off-by: Ray <raymund.delahunty@outlook.com>