EPrints Technical Mailing List Archive
Message: #05413
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Trigger overrides
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Trigger overrides
- From: John Salter <J.Salter@leeds.ac.uk>
- Date: Wed, 10 Feb 2016 15:41:21 +0000
Hi, I need to add a new date_type (published-online) to the 'datesdatesdates' plugin. Defining it in the metadata field isn't too tricky, but I'm trying get the new value in the priority list: https://github.com/eprintsug/datesdatesdates/blob/master/lib/cfg.d/zz_datesdatesdates_triggers.pl#L25-L32 I could duplicate the trigger in ~/archives/ARCHIVEID/cfg/cfg.d/zzz_dates_triggers.pl, but as I understand things, this would only be able to add an extra COMMIT trigger, rather than replacing the default one in lib/cfg.d. This seems a bit inefficient/wrong. Is there a more elegant way of achieving this that I'm missing? Cheers, John
- Prev by Date: [EP-tech] User notification feature of new articles committed to the archive
- Next by Date: [EP-tech] Re: Suggested changes to EPrints 3 in 2016
- Previous by thread: [EP-tech] User notification feature of new articles committed to the archive
- Next by thread: [EP-tech] Importing files
- Index(es):