Difference between revisions of "Where Plugins Appear"
(Created page with 'Category:Plugins') |
|||
Line 1: | Line 1: | ||
+ | When you create a screen plugin in EPrints there are a set of locations where the plugin can appear. | ||
+ | |||
+ | You can set the location at which a screen is rendered in the new method of your plugin: | ||
+ | |||
+ | <pre> | ||
+ | $self->{appears} = [ | ||
+ | { | ||
+ | place => "item_tools", | ||
+ | action => "create", | ||
+ | position => 100, | ||
+ | } | ||
+ | ]; | ||
+ | </pre> | ||
+ | |||
+ | |||
+ | |||
+ | |||
[[Category:Plugins]] | [[Category:Plugins]] |
Revision as of 14:23, 7 December 2010
When you create a screen plugin in EPrints there are a set of locations where the plugin can appear.
You can set the location at which a screen is rendered in the new method of your plugin:
$self->{appears} = [ { place => "item_tools", action => "create", position => 100, } ];