EPrints Technical Mailing List Archive

Message: #01539


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Local version of screen plugin (v.3.3.10)


I’m trying to render the workflow stages as a UL, and I’m trying to do it the *right* way (as a local plugin).

 

This is what I have:

~/archives/ARCHIVEID/cfg/plugins/EPrints/Plugin/Screen/LocalWorkflow.pm

######################################

package EPrints::Plugin::Screen::LocalWorkflow;

@ISA = ( 'EPrints::Plugin::Screen::Workflow' );

 

use strict;

 

sub render_blister

{

#Stuff, returning a div with ul/li instead of a table

}

1;

######################################

 

~/archives/ARCHIVEID/cfg/cfg.d/plugins.pl

$c->{plugin_alias_map}->{"Screen::Workflow"} = "Screen::LocalWorkflow";

$c->{plugin_alias_map}->{"Screen::LocalWorkflow"} = undef;

 

This isn’t working – but I *think* it should be OK.

What am I missing?

 

Cheers,

John