Summary: | Allow for notices to have custom header/footer includes | ||
---|---|---|---|
Product: | Koha | Reporter: | Lucas Gass (lukeg) <lucas> |
Component: | Notices | Assignee: | Bugs List <koha-bugs> |
Status: | NEW --- | QA Contact: | Testopia <testopia> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | cbrannon, martin.renvoize, mirjam.vantieghem, sally.healey |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
See Also: | https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35832 | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Bug Depends on: | 35285 | ||
Bug Blocks: |
Description
Lucas Gass (lukeg)
2022-05-09 17:54:16 UTC
+1 +1 I was pointed towards this as I was starting to work on bug 35832... Working on the code I was modernising for that lead me to a few questions. I was thinking of using the HTML Customisations system to allow translatable blocks.. simple. * Would we want these blocks 'always added' if they exist as html customisations... * or would we require them 'included' in the notice templates [% NoticeHeader %] and [% NoticeFooter %] (like how news works right now)... * or would we like checkboxes in the notice editor to say 'Include standard header' and 'Include standard footer'? Do we want to also do anything to modernize the existing news functionality that allows adding news to notices/slips too as part of this effort? Personally, I would want a dropdown for both header and footer in the notice, and be able to select which customization to include. That way I could have more than one reusable header or footer. Display location should be "Notice Header" or "Notice Footer" and only the headers should be selectable in the notice headers dropdown, or "None", and only footers should be selectable in the notice footers dropdown, or "None". Hope that makes sense. (In reply to Christopher Brannon from comment #4) > Personally, I would want a dropdown for both header and footer in the > notice, and be able to select which customization to include. That way I > could have more than one reusable header or footer. > > Display location should be "Notice Header" or "Notice Footer" and only the > headers should be selectable in the notice headers dropdown, or "None", and > only footers should be selectable in the notice footers dropdown, or "None". > > Hope that makes sense. I should clarify: Display location in the HTML Customization should be "Notice Header" for any custom headers or "Notice Footer" for any custom footers and only the header locations should be selectable in the notice headers dropdown, or "None", and only footer locations should be selectable in the notice footers dropdown, or "None". |