Difference between revisions of "Plugins.pl"

From EPrints Documentation
Jump to: navigation, search
m (Remove content as added for wrong page.)
(Tag: Replaced)
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
{{dirs}}
 
{{dirs}}
 
{{cfgd}}
 
{{cfgd}}
 +
 +
'''plugins.pl''' contains configuration for managing [[API:EPrints/Plugin|plugins]] under the '''<code>$c->{plugins}</code>''' hash reference.  Most of the configuration is commented out as it provides example on how to:
 +
# Set the generic options (e.g. ''params'' and ''appears'') for a particular plugin.
 +
# Set action options for [[API:EPrints/Plugin/Screen|screen plugins]].
 +
# Set options for [[API:EPrints/Plugin/Import|import]] and [[API:EPrints/Plugin/Export|export]] plugins.
 +
# Plugin mapping.  Useful for overriding plugins with your own archive level version of the plugin.
 +
 +
The only enabled configuation is for setting the ''pid'', ''doi_field'' and ''use_prefix'' params for CrossRef import plugins (i.e. DOI and DOI_UNIXREF).

Latest revision as of 11:07, 30 January 2022

EPrints 3 Reference: Directory Structure - Metadata Fields - Repository Configuration - XML Config Files - XML Export Format - EPrints data structure - Core API - Data Objects


Back to cfg.d

plugins.pl contains configuration for managing plugins under the $c->{plugins} hash reference. Most of the configuration is commented out as it provides example on how to:

  1. Set the generic options (e.g. params and appears) for a particular plugin.
  2. Set action options for screen plugins.
  3. Set options for import and export plugins.
  4. Plugin mapping. Useful for overriding plugins with your own archive level version of the plugin.

The only enabled configuation is for setting the pid, doi_field and use_prefix params for CrossRef import plugins (i.e. DOI and DOI_UNIXREF).