[Koha-devel] Pretty Plugin URLs
dcook at prosentient.com.au
dcook at prosentient.com.au
Thu Jun 23 06:22:01 CEST 2022
Hi all,
At the moment, in the Staff Interface, we have plugin URLs like this:
http://localhost:8081/cgi-bin/koha/plugins/run.pl?class=Koha%3A%3APlugin%3A%
3ACom%3A%3AByWaterSolutions%3A%3ACoverFlow
<http://localhost:8081/cgi-bin/koha/plugins/run.pl?class=Koha%3A%3APlugin%3A
%3ACom%3A%3AByWaterSolutions%3A%3ACoverFlow&method=configure>
&method=configure
What if we had something prettier like the following?
http://localhost:8081/cgi-bin/koha/plugin/coverflow/configure or
http://localhost:8081/cgi-bin/koha/plugin/coverflow?method=configure
I was thinking it would leverage a plugin_key of "__NAME__" in the
"plugin_data" table.
I suppose it increases the risk of name collisions, but to be honest those
collisions can happen in Wordpress (as I recently learned) and it's fine
overall.
David Cook
Senior Software Engineer
Prosentient Systems
Suite 7.03
6a Glen St
Milsons Point NSW 2061
Australia
Office: 02 9212 0899
Online: 02 8005 0595
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20220623/728e4f20/attachment-0001.htm>
More information about the Koha-devel
mailing list