[rt-users] How to customize in local/lib
Thomas Sibley
trs at bestpractical.com
Thu Jan 31 12:07:12 EST 2013
On 01/31/2013 05:56 AM, Raed El-Hames wrote:
> Hi,
>
> Sorry if this have been asked before, but I could n’t see anything in
> the archives or via web search.
>
> I just started the process of upgrading my rt-3.8.7 to rt-4
>
> With rt-4 the Overlay files have been removed, and I am wondering what
> is the proper way to add or modify existing functions with lib/RT.
>
> For example to change a subroutine in User_Overlay.pm in 3.8.7 , I
> create User_Vendor.pm in local/lib/RT , copy then modify the function I
> need to change into
>
> User_Vendor.pm , similar any new functions I need go there ?? will this
> method still work in 4.0.8 ?? or Do I need the whole of User.pm then
> modify or add to ??
The same method you're using will still work; the _Overlay.pm files were
merged with the standard .pm files.
(FWIW, we've always suggested not using _Vendor as that may be used by,
well, the vendor (that's usually us, when writing extensions), so _Local
is preferable for your local changes.)
More information about the rt-users
mailing list