[rt-users] Mojo for Callback placement?

Jesse Vincent jesse at bestpractical.com
Wed Oct 11 10:56:19 EDT 2006



> So what I want is to create a callback that returns a "0" if the
> transaction is to be displayed, or a "1" if it is to be skipped. (I'm
> essentially wanting to rid myself of "Set" "Priority" transactions from
> the output.
> 
> Now here is the part I'm finding difficult to grok... given the path
> shown above, where do I create the code for the callback?  I assume that
> the end of the path would be:
> 
> [something here]../Ticket/Elements/ShowHistory/SkipTransaction
> 
> but I'm unclear what the first part of that path is.


Grab a copy of RTIR 2.0. It should have a callback that does this to
learn from.

-j
> 
> While the "RT Essentials" book has been an extraordinary resource for
> working with RT, it doesn't seem to cover Callbacks at all.  The wiki
> offers some suggestions but I'm still unclear.  I've tried a couple of
> different locations but I'm shooting in the dark, without success.
> 
> To sum this all up, what would the fully qualified name of the file
> containing the callback code be?
> 
> Thanks very much in advance for your help.
> 
> Barry
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.6 (GNU/Linux)
> 
> iD8DBQFFLPccCFu3bIiwtTARAqAYAKCODbBBoy80E/6VwVQLYB19efzqKACbBe0v
> 7kWDkj3/zVh77+c4/cuKtC0=
> =TyYG
> -----END PGP SIGNATURE-----
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
> 
> 
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
> Buy a copy at http://rtbook.bestpractical.com
> 

-- 



More information about the rt-users mailing list