Ernesto Silva - Webmaster a écrit :
Paul, + my $plugin=C4::Context->config('intranetdir')."/cgi-bin/value_builder/".$tagslib->{$tag}->{$subfield}->{'value_builder'}; +my $plugin_name=C4::Context->config('intranetdir')."/cgi-bin/value_builder/".$input->param("plugin_name");
OK, in CVS. A little bit different (because the paths are differents depending on developper/CVS or production setup. But no more relative paths.
B) In "intranet/cgi-bin/acqui.simple/addbiblio.pl" there's this line(184):
my $extended_param = plugin_parameters($dbh,$rec,$tagslib,$i,$tabloop);
which I supouse is for sending extra parameters to the plugin, but the $extended_param variable isn't used anywhere else, any ideas? should I modify the line that generates the javascript link to plugin_launcher.pl and add the extra parameters?
I don't remember at the moment. But unless you have trouble with those code, don't touch it. -- Paul POULAIN Consultant indépendant en logiciels libres responsable francophone de koha (SIGB libre http://www.koha-fr.org)