@@ -, +, @@ menu for Koha Plugins Replace the line "
" with :
Also, just before the line "[% INCLUDE 'intranet-bottom.inc' %]" at the end of the file, insert the following lines :
[% INCLUDE 'plugins-menu.inc' %]
Note: as defined in your koha-conf.xml use Koha::Plugins; after the line : use base qw(Koha::Plugins::Base); Also, just after the line : my $template = $self->get_template({ file => 'tool-step1.tt' }); Insert the following : my @reports = Koha::Plugins->new()->GetPlugins("report"); $template->param( reports => \@reports, ); my @tools = Koha::Plugins->new()->GetPlugins("tool"); $template->param( tools => \@tools, ); and click on "Run tool" link. under the "Plugin Tools" sub-menu being highlighted. --- .../prog/en/includes/plugins-menu.inc | 68 ++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 koha-tmpl/intranet-tmpl/prog/en/includes/plugins-menu.inc --- a/koha-tmpl/intranet-tmpl/prog/en/includes/plugins-menu.inc +++ a/koha-tmpl/intranet-tmpl/prog/en/includes/plugins-menu.inc @@ -0,0 +1,68 @@ + + --