Bug 15008 - Add custom HTML areas to circulation and reports home pages
Summary: Add custom HTML areas to circulation and reports home pages
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Staff interface (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Nick Clemens
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-13 19:00 UTC by Jesse Weaver
Modified: 2017-06-14 22:15 UTC (History)
8 users (show)

See Also:
Change sponsored?: Sponsored
Patch complexity: Trivial patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
Bug 15008 - Add custom HTML areas to circulation and reports home pages (3.95 KB, patch)
2016-02-26 01:01 UTC, Nick Clemens
Details | Diff | Splinter Review
Bug 15008 - Add custom HTML areas to circulation and reports home pages (4.02 KB, patch)
2016-02-26 01:13 UTC, Nick Clemens
Details | Diff | Splinter Review
Bug 15008 - Add custom HTML areas to circulation and reports home pages (4.20 KB, patch)
2016-02-26 14:00 UTC, Marc Véron
Details | Diff | Splinter Review
Bug 15008 - (QA followup) (2.42 KB, patch)
2016-04-01 15:22 UTC, Nick Clemens
Details | Diff | Splinter Review
Bug 15008 - Add custom HTML areas to circulation and reports home pages (4.27 KB, patch)
2016-04-04 09:25 UTC, Jonathan Druart
Details | Diff | Splinter Review
Bug 15008 - (QA followup) (2.49 KB, patch)
2016-04-04 09:25 UTC, Jonathan Druart
Details | Diff | Splinter Review
Bug 15008: Fix swap options-explanation values (2.73 KB, patch)
2016-04-04 09:25 UTC, Jonathan Druart
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Weaver 2015-10-13 19:00:50 UTC
Add two new sysprefs, IntranetReportsHomeHTML and IntranetCirculationHomeHTML, that define new HTML areas on the reports and circulation home pages respectively.
Comment 1 Nick Clemens 2016-02-26 01:01:56 UTC Comment hidden (obsolete)
Comment 2 Nick Clemens 2016-02-26 01:13:16 UTC Comment hidden (obsolete)
Comment 3 Marc Véron 2016-02-26 14:00:26 UTC Comment hidden (obsolete)
Comment 4 Jonathan Druart 2016-03-23 22:20:48 UTC
Would not it better to add an admin page to manage these different areas to custom?
Comment 5 Jonathan Druart 2016-03-23 22:23:06 UTC
(OpacMainUserBlock, OpacNav, OpacNavRight, OpacNavBottom, opacheader, opaccredits, OPACNoResultsFound, OPACResultsSidebar, SelfCheckHelpMessage, IntranetmainUserblock, ...)
Comment 6 Nick Clemens 2016-03-29 19:07:25 UTC
(In reply to Jonathan Druart from comment #4)
> Would not it better to add an admin page to manage these different areas to
> custom?
I would tend to agree but think that's a separate bug
Comment 7 Marc Véron 2016-03-30 06:58:05 UTC
(In reply to Nick Clemens from comment #6)
> (In reply to Jonathan Druart from comment #4)
> > Would not it better to add an admin page to manage these different areas to
> > custom?

Good idea!

> I would tend to agree but think that's a separate bug

+1 for a separate bug
Comment 8 Jonathan Druart 2016-03-30 14:34:51 UTC
(In reply to Marc Véron from comment #7)
> > I would tend to agree but think that's a separate bug
> 
> +1 for a separate bug

Any candidate to open it and write a patch? :)
Comment 9 Jonathan Druart 2016-03-30 14:38:05 UTC
Please provide the changes for new installs (sysprefs.sql)
Comment 10 Nick Clemens 2016-04-01 15:22:28 UTC Comment hidden (obsolete)
Comment 11 Jonathan Druart 2016-04-04 09:25:04 UTC
Created attachment 49839 [details] [review]
Bug 15008 - Add custom HTML areas to circulation and reports home pages

To test:
1 - Apply patch
2 - run updatedatabase.pl
3 - Add some html to the two new prefs IntranetReportsHomeHTML and
IntranetCirculationHomeHTML
4 - View the reports and circulation homepages and confirm your changes
show

Sponsored by Northeast Kansas Library System, NEKLS (http://nekls.org/)

Followed test plan, works as expected.
Signed-off-by: Marc Véron <veron@veron.ch>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Comment 12 Jonathan Druart 2016-04-04 09:25:08 UTC
Created attachment 49840 [details] [review]
Bug 15008 - (QA followup)

Add sysprefs.sql changes for new installations

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Comment 13 Jonathan Druart 2016-04-04 09:25:13 UTC
Created attachment 49841 [details] [review]
Bug 15008: Fix swap options-explanation values

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Comment 14 Brendan Gallagher 2016-04-07 05:46:42 UTC
Pushed to Master - Should be in the May 2016 release.  Thanks!