[rt-users] Site-specific customization of RT

Jesse Vincent jesse at bestpractical.com
Tue Mar 26 15:16:17 EST 2002


Short version: the design of rt/local anticipates future functionality.
Where yes, it'll be easy to drop your own modules in rt/local/lib/RT. 
(And I've got a couple tricks up my sleeve that will make that even easier
and more powerful)

	-j


On Tue, Mar 26, 2002 at 03:06:49PM +0000, Smylers wrote:
> On Friday I wrote:
> 
> > You can put things under these directories:
> >
> >   rt/local/WebRT/html/
> >   rt/local/lib/
> >
> > If a file of the same name exists in the local and non-local
> > directories, the local one will be used.
> 
> That was my understanding of the purpose of rt/local/, but appears not
> to be the case.  It works for html/, but not lib/.
> 
> I've easily made it work for lib by editing each of the files in rt/bin
> from having these two lines:
> 
>   use lib "/usr/local/rt/lib";
>   use lib "/usr/local/rt/etc";
> 
> to these three:
> 
>   use lib "/usr/local/rt/lib";
>   use lib "/usr/local/rt/local/lib";
>   use lib "/usr/local/rt/etc";
> 
> That's fine.  But the fact that I had to do this hacking means that it
> isn't how things are supposed to be done, and suggests that I've greatly
> misunderstood the purpose of rt/local/.
> 
>   * Should I just be putting customized modules under rt/lib/RT, along
>     with the standard ones?
> 
>   * What should be in rt/local/ then?  If rt/local/lib/ isn't the done
>     thing then the only content of that directory is rt/local/WebRT/,
>     and the only content of _that_ directory is rt/local/WebRT/html/,
>     and I don't see the point of having two extra levels of hierarchy
>     that don't contain anything.
> 
> What am I missing here?
> 
> Smylers
> -- 
> GBdirect
> http://www.gbdirect.co.uk/
> 
> 
> _______________________________________________
> rt-users mailing list
> rt-users at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-users
> 

-- 
http://www.bestpractical.com/products/rt  -- Trouble Ticketing. Free.




More information about the rt-users mailing list