[Koha-bugs] [Bug 20968] Plugins: Add hooks to enable plugin integration into catalogue

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 15 18:18:34 CEST 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20968

Kyle M Hall <kyle at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #80394|0                           |1
        is obsolete|                            |
  Attachment #80395|0                           |1
        is obsolete|                            |
  Attachment #80396|0                           |1
        is obsolete|                            |
  Attachment #80397|0                           |1
        is obsolete|                            |
  Attachment #80398|0                           |1
        is obsolete|                            |

--- Comment #48 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 80615
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=80615&action=edit
Bug 20968: Add hooks into cat-toolbar.inc to display buttons

This commit adds hooks into cat-toolbar.inc to allow the display of
arbitrary buttons as supplied by plugins within the
intranet_catalog_biblio_enhancements class that provide the method
get_toolbar_button

To test:

1) Download the plugin from
https://github.com/PTFS-Europe/cla-permissions-check-plugin
2) Follow the installation instructions from:
https://github.com/PTFS-Europe/cla-permissions-check-plugin
3) TEST: Observe that the "CLA Check Permissions" button takes the user
to the Check Permissions page and a modal displays containing the
results of the query
4) Remove the API key from the plugin "Configuration" page
5) TEST: Ensure that the "CLA Check Permissions" button takes the user
to the Check Permissions page and message displays informing the user
that "Did not receive required request parameters"

https://bugs.koha-community.org/show_bug.cgi?id=20968

Signed-off-by: Stephen Graham <s.graham4 at herts.ac.uk>

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