Summary: | Move IntranetCirculationHomeHTML to HTML customizations | ||
---|---|---|---|
Product: | Koha | Reporter: | Caroline Cyr La Rose <caroline.cyr-la-rose> |
Component: | Tools | Assignee: | Owen Leonard <oleonard> |
Status: | Signed Off --- | QA Contact: | Testopia <testopia> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | anneli.osterman, jheltibridle, lucas, philippe.blouin, r.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: | Change sponsored?: | --- | |
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 |
Description
Caroline Cyr La Rose
2023-08-17 10:41:08 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! +1 Created attachment 183134 [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 Created attachment 183142 [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> Created attachment 183150 [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 |