[Koha-bugs] [Bug 18472] Add system preferences to manage online help system
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Oct 27 17:03:29 CEST 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18472
Kyle M Hall <kyle at bywatersolutions.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #66851|0 |1
is obsolete| |
--- Comment #26 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 68744
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=68744&action=edit
Bug 18472: Add system preferences to manage online help system
This patch introduces two new system preferences in section
'Administration'
- 'HelpSystem' to select / disable the help system to use. It is designed
to allow future expansions (alternative / complementing help system), thats
why it is a 'Multiple choice' with one choice
- 'EnableEditingFilebasedHelp' is used to toggle on/off the 'Edit'
field that appears at the bottom of the durrent help pages.
To test:
- In staff client, open help on some pages, including help on main page
- They have a button 'Edit help'. On main page help, you see a text about
'Can I edit the online help?'
- Apply patch, restart memcached and plack
- Update database
- In staff client, go to Administration > System preferences > Administration
- Locate section 'Help system', do not yet schange settings
- Verify that the help pages you visited look the same as before
- Change syspref 'EnableEditingFilebasedHelp' to 'No'
- Visit the help pages again, verify that 'Edit help' button no longer appears.
- Set the system preference 'HelpSystem' to none (deselect 'File based (staff
client)
- Reload any page and verify that the 'Help' link in the page header does no
longer display
- In syspref 'HelpSystem', check 'File based (staff client)'
- Reload any page, verify that the 'Help' link is displayed
(Amended to correct wrong line in sysprefs.sql 201-04-29 mv)
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
(Minor change to make it apply on current master 2017-09-05 mv)
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list