[rt-users] Hiding non-content transactions with callbacks
Kevin Falcone
falcone at bestpractical.com
Mon Aug 4 11:10:28 EDT 2014
On Mon, Aug 04, 2014 at 07:50:43AM -0600, statik at cloned.org wrote:
> I'm on RT 4.2.x and am trying to hide things like "Outgoing email recorded" and
> simple ticket ownership changes from showing up on the "Display" section of the
> ticket. I've seen [1]http://requesttracker.wikia.com/wiki/HideTransactions but
> can't seem to make it work for me. I've tried making "$rt/local/html/Callbacks/
> my_callbacks/Ticket/Display.html/Default" and "$rt/local/html/Callbacks/
> my_callbacks/Ticket/Elements/ShowHistory/Default" with the code from the
> aforementioned page and neither work at all.
>
> I'm sure I've done something boneheaded but I'm not well versed enough to
> realize it yet. Any help would be appreciated.
For Outgoing email, you can just not grant ShowOutgoingMail (with the
understanding that users will also lose the ability to squelch on
replies).
I suspect that your problem is that in 4.2 the element is called
Elements/ShowHistory, not Ticket/Elements/ShowHistory and there is no
'Default' callback in ShowHistory in either 4.0 or 4.2, so that's just
wrong.
/opt/rt4/local/html/Callbacks/Mine/Elements/ShowHistory/SkipTransaction
is the correct location for your code. Ensure you clear your mason
cache and restart apache after updating.
-kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 235 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20140804/f35627db/attachment.sig>
More information about the rt-users
mailing list