[rt-users] Add queue change to Update.html (comment/reply)

Kevin Falcone falcone at bestpractical.com
Tue Feb 14 11:44:24 EST 2012


On Tue, Feb 14, 2012 at 07:44:08AM +0100, Bart wrote:
>    Now to make a seperate plugin out of it :) Not sure if I'm able to make something for the CPAN
>    repository, but I'll see how far I can get. (first I'd like to see how this works as a
>    seperate plugin along with to the CustomFieldsOnUpdate plugin).

These days, I usually install Dist::Zilla::MintingProfile::RTx and run
dzil -P RTx My-Custom-RT-Module and then put it in source control and
edit away.  I realize that may be a slightly higher barrier to entry
than you want, and you can usually get away with judicious renaming /
copying from an existing module.  The most common things you'll need
to touch include lib/RT/Extension/ModuleName.pm (renaming the file and
the package line) and also updating the package line in Makefile.PL.

If you're familiar with building a normal CPAN extension, the only
real magic in an RT extension is the RTx line in Makefile.PL.  If
you're not familiar with building CPAN extensions, there's a bit more
framework to wrap your head around.

-kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20120214/1cda3712/attachment.sig>


More information about the rt-users mailing list