Hide comments, groups and tickets in More about the requestor box

Hi,

I’d like to disable showing comments, groups and tickets in the More
about the requestor box in the ticket display page.

Looking at Ticket/Elements/ShowRequestor I see that the three variables
$ShowComments $ShowTickets $ShowGroups set to 1 in the ARGS section
would do exactly what I wanted if I was able to set them to 0.

There are several callbacks in the code, but none of them seem to be
able to modify those variables. Is there a way to override those
variables in a maintainable way (i.e. without modifying the souce :slight_smile: ?

Thank you, Daniel.

I’d like to disable showing comments, groups and tickets in the More
about the requestor box in the ticket display page.

Two of those three are configuration options.
http://bestpractical.com/docs/rt/latest/RT_Config.html#MoreAboutRequestorGroupsLimit
http://bestpractical.com/docs/rt/latest/RT_Config.html#MoreAboutRequestorTicketList
As for the comment, I’d probably just use CSS to hide the div, rather
than using a callback, since there’s no performance hit.

-kevin

Hi Kevin,

  • Kevin Falcone falcone@bestpractical.com [11/01/2013 15:57]:> On Fri, Nov 01, 2013 at 02:33:59PM -0400, Daniel De Marco wrote:

I’d like to disable showing comments, groups and tickets in the More
about the requestor box in the ticket display page.

Two of those three are configuration options.
RT Config - RT 5.0.3 Documentation - Best Practical
RT Config - RT 5.0.3 Documentation - Best Practical
As for the comment, I’d probably just use CSS to hide the div, rather
than using a callback, since there’s no performance hit.

Thank you. I saw those options, but even with
$MoreAboutRequestorTicketList set to None, the box contains the headers
‘Active Tickets’, ‘Inactive Tickets’ and ‘All Tickets’. But now that I
think of it, I can hide those with CSS as well, so thank you again.

Daniel.