Add two new sysprefs, IntranetReportsHomeHTML and IntranetCirculationHomeHTML, that define new HTML areas on the reports and circulation home pages respectively.
Created attachment 48383 [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
Created attachment 48384 [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/)
Created attachment 48399 [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>
Would not it better to add an admin page to manage these different areas to custom?
(OpacMainUserBlock, OpacNav, OpacNavRight, OpacNavBottom, opacheader, opaccredits, OPACNoResultsFound, OPACResultsSidebar, SelfCheckHelpMessage, IntranetmainUserblock, ...)
(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
(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
(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? :)
Please provide the changes for new installs (sysprefs.sql)
Created attachment 49806 [details] [review] Bug 15008 - (QA followup) Add sysprefs.sql changes for new installations
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>
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>
Created attachment 49841 [details] [review] Bug 15008: Fix swap options-explanation values Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Pushed to Master - Should be in the May 2016 release. Thanks!