<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>No easily, the idiot* who designed that part of the system didn't put IDs into the triggers, it just makes a list of each trigger function reference for each priority.
<br>
</p>
<p><a class="moz-txt-link-freetext" href="https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprints%2Feprints%2Fblob%2F2d42b2be54004bf3db6881a6d893d39c7a7f909f%2Fperl_lib%2FEPrints%2FRepositoryConfig.pm%23L96&data=01%7C01%7C%7C89c5153452604778e2d708d6926bb5f7%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&sdata=Hua%2BG2eXJCngAiSyJIq%2BEzJnYVP1EWngQBlhjcIM5i4%3D&reserved=0" originalsrc="https://github.com/eprints/eprints/blob/2d42b2be54004bf3db6881a6d893d39c7a7f909f/perl_lib/EPrints/RepositoryConfig.pm#L96" shash="eo0B1/2YkG80VjsP/d1w6hQqI7JGTvjRYQa+Sw6qXaw/RHZqb54Le/cf0iyA24gThUhoSZZrKUe4JED8lo+i6pSulbkD7sayRzhySUjWFiCngvrcveaqPLuADDi/vARvIxJDoE8JjB0kw3HuWdAxqNNtDXZbNRti6HqY5hmunSk=">https://github.com/eprints/eprints/blob/2d42b2be54004bf3db6881a6d893d39c7a7f909f/perl_lib/EPrints/RepositoryConfig.pm#L96</a></p>
<p>All I can suggest is, near the end of the cfg.d files (they load alphabetically) remove ALL the triggers from a priority, and reapply just the ones you want. It's a fragile solution.</p>
<p><br>
</p>
<p>*I was that idiot, sorry about that.<br>
</p>
<p><br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 14/02/2019 10:40, Alan.Stiles via Eprints-tech wrote:<br>
</div>
<blockquote type="cite" cite="mid:EMEW3|2fe8a3c3920ead9ef9d79bb900833abev1DAhu14eprints-tech-bounces|ecs.soton.ac.uk|AM6PR04MB52547E2D503D3975F60FD4B6CA670@AM6PR04MB5254.eurprd04.prod.outlook.com">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Is it possible in a local cfg.d script to replace or disable an existing trigger?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’ve realised that, due to non-standard field usage, there are functions that never get triggered for us, so I’d like to replace the existing trigger without hacking the existing plugin module.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal">Alan<b><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#1E4B9B;mso-fareast-language:EN-GB"><o:p></o:p></span></b></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
-- The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England & Wales and a charity registered in Scotland (SC 038302). The Open University is authorised and regulated by the Financial Conduct Authority in relation to its
secondary activity of credit broking. <br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">*** Options: <a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a>
*** Archive: <a class="moz-txt-link-freetext" href="https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&data=01%7C01%7C%7C89c5153452604778e2d708d6926bb5f7%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&sdata=zR0qJac2Ksy9SWd3s5Jic5MmYrqR1zPixbcu%2FaA2BJw%3D&reserved=0" originalsrc="http://www.eprints.org/tech.php/" shash="Md6LbfCwAoF9g3Jx7AqfQeu7qdMRMi8mNhIpBXb+6fuM1szxIkDVAwWTuzH7R+lNsEZ0C2SLcX4EWtW3EKme4AWGUHh7QM0aMQWGDmHFllmiKw+y6ebfnv2xDZC5MCvg+NreDptsUUM0N5bWkmeyeEfUFTx9irmKenx8Woe+0D4=">http://www.eprints.org/tech.php/</a>
*** EPrints community wiki: <a class="moz-txt-link-freetext" href="https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=01%7C01%7C%7C89c5153452604778e2d708d6926bb5f7%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&sdata=PHARKuXRrcDltH0UpmZtehXoAisFYX%2BjLnzlQpSEqBc%3D&reserved=0" originalsrc="http://wiki.eprints.org/" shash="Onj6dvkpIkPfy9tvVaM7D4KCBS9K/Dyoj4u7bPkbmpR79A1QMI+o/8aLNM8uYUeGVsGINHnhyF+iv2AxbXCf1prdhq6gniyQclczEgjvvjLW05wrDM+Byv/GgnKRLLAdP1m17EHzZeebI299H7aBffWLtdgkAWFUX4p6VEcTNj4=">http://wiki.eprints.org/</a>
*** EPrints developers Forum: <a class="moz-txt-link-freetext" href="https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fforum.eprints.org%2F&data=01%7C01%7C%7C89c5153452604778e2d708d6926bb5f7%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&sdata=HYpxLJam7ulaBfN7XatJt9eaqV59KZM5lAFhN95%2BrGA%3D&reserved=0" originalsrc="http://forum.eprints.org/" shash="YzjMXfnKmYvcwKISu5S7wLYzWVFCtoLxS8M9SxVv12honGpGuSrkmsqZrBcKDejRGhd/LWH7dyWcTLmCyJKjl6i4SFuQ5RQlEfoB8NNC1WL17zAcVFuMRNiWV9UOwEF4seZz/GStP0wMbVdwWZvlX706lZwNlNWe81Y01mQ/SWw=">http://forum.eprints.org/</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Christopher Gutteridge <a class="moz-txt-link-rfc2396E" href="mailto:totl@soton.ac.uk"><totl@soton.ac.uk></a>
You should read our team blog at <a class="moz-txt-link-freetext" href="http://blog.soton.ac.uk/webteam/">http://blog.soton.ac.uk/webteam/</a></pre>
</body>
</html>