[Koha-devel] koha-testing-docker and plugins

Fridolin SOMERS fridolin.somers at biblibre.com
Thu Nov 26 10:53:23 CET 2020


Maybe we could add a link to plugins in staff home page.
(if user has permission of course)

Le 26/11/2020 à 10:50, Fridolin SOMERS a écrit :
> Hi
> 
> Indeed, I think it is logical that link only shows when we have a plugin 
> with tool method.
> 
> We have indeed Administration > Manage plugins.
> 
> Best regards,
> 
> Le 26/11/2020 à 04:41, dcook at prosentient.com.au a écrit :
>> I was about to say that sounds like a regression, but it looks like 
>> that behaviour is intentional, if you read the commit message: 
>> https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26338#c11
>>
>> You should be able to manage plugins if you go to "Administration" still.
>>
>> David Cook
>> Software Engineer
>> Prosentient Systems
>> 72/330 Wattle St
>> Ultimo, NSW 2007
>> Australia
>>
>> Office: 02 9212 0899
>> Online: 02 8005 0595
>>
>> -----Original Message-----
>> From: Koha-devel <koha-devel-bounces at lists.koha-community.org> On 
>> Behalf Of Mark Alexander
>> Sent: Thursday, 26 November 2020 1:05 PM
>> To: koha-devel <koha-devel at lists.koha-community.org>
>> Subject: Re: [Koha-devel] koha-testing-docker and plugins
>>
>> I think the problem is due to change fb59f3f0f04:
>>
>>    Author: Fridolin Somers <fridolin.somers at biblibre.com>
>>    Date:   Tue Sep 1 15:43:19 2020 +0200
>>
>>        Bug 26338: Show tool plugins run in tools home
>>        In tools home there is a link to the table showing tool plugins.
>>        Would be great to be able to run a tool plugin directly from 
>> tools home.
>>        Also adds the behavior than if there is no tool plugin, "Tool 
>> plugins"
>>        section is not displayed in tools home.
>>        No need of a link that goes to an empty table ;)
>>
>> The relevant bit of code in 
>> koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tt
>> is this:
>>
>>      [% IF ( Koha.ArePluginsEnabled() && CAN_user_plugins_tool && 
>> tool_plugins ) %]
>>      <dt><a 
>> href="/cgi-bin/koha/plugins/plugins-home.pl?method=tool">Tool 
>> plugins</a></dt>
>>      <dd>
>>          Use tool plugins
>> [... stuff deleted ...]
>>      [% END %]
>>
>> Before the change mentioned above, the first line of that snippet 
>> looked like this:
>>
>>      [% IF ( Koha.ArePluginsEnabled() && CAN_user_plugins_tool ) %]
>>
>> Restoring that line to its previous state fixed the problem.
>>
>> -- 
>> Surely I deserve some kind of recognition for all the bad things I 
>> haven't done. --Ashleigh Brilliant 
>> _______________________________________________
>> Koha-devel mailing list
>> Koha-devel at lists.koha-community.org
>> https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
>> website : http://www.koha-community.org/ git : 
>> http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
>>
>>
>> _______________________________________________
>> Koha-devel mailing list
>> Koha-devel at lists.koha-community.org
>> https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
>> website : http://www.koha-community.org/
>> git : http://git.koha-community.org/
>> bugs : http://bugs.koha-community.org/
>>
> 

-- 
Fridolin SOMERS <fridolin.somers at biblibre.com>
Software and system maintainer 🦄
BibLibre, France


More information about the Koha-devel mailing list