<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jun 10, 2013 at 10:31 PM, Bradley Bell <span dir="ltr"><<a href="mailto:bradleyb@uw.edu" target="_blank">bradleyb@uw.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Unless I'm mistaken, no RT class will load more than one Vendor<br>
overlay, so if I have two plugins installed, and each provide a Vendor<br>
file, only one will get loaded.<br>
<br>
Am I correct in surmising that the overlay mechanism was never really<br>
meant to be used by plugins in this way?</blockquote><div><br></div><div style>Yes and no. In 3.6 nad older plugins were installed in local/ so you couldn't have two plugins with the same _Local.pm or _Vendor.pm file. We were using such files in plugins, but quickly it proved to be wrong.</div>
<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">It seems most plugins only<br>
need to make a couple of changes to RT classes and just do it right in<br>
the main plugin .pm. Are there any other recommended methods?<br></blockquote><div><br></div><div style>see lib/RT/IR.pm in RTIR extension. We basicly wrap methods from extensions' primary file. </div><div><br></div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
For Asset Tracker, which has several _Vendor files, I'm thinking of<br>
perhaps renaming them *_ATOverlay.pm and then requiring those from<br>
AssetTracker.pm.<br>
<br>
Thanks,<br>
<span class="HOEnZb"><font color="#888888">--<br>
Bradley Bell<br>
Classroom Support Services | University of Washington<br>
035 Kane Hall | Box 353095 Seattle, WA 98195-3095<br>
p 206.543.9900 | f 206.685.7892 | <a href="http://www.css.washington.edu" target="_blank">www.css.washington.edu</a><br>
<br>
<br>
--<br>
RT Training in Seattle, June 19-20: <a href="http://bestpractical.com/training" target="_blank">http://bestpractical.com/training</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>Best regards, Ruslan.
</div></div>