[rt-users] [phish?] Re: clarification on callbacks
Matt Zagrabelny
mzagrabe at d.umn.edu
Wed Oct 12 21:37:23 EDT 2016
On Wed, Oct 12, 2016 at 3:53 PM, Alex Hall <ahall at autodist.com> wrote:
> Callbacks I get now, at least I'm pretty sure I do. I've been reading the
> docs for RT objects, and if I can use any of the properties and methods I've
> found, I can see how plugins are so powerful.
>
> My sticking point now is modifying what's already there. I can remove items
> from a menu with deleteKey, but I haven't found a way to remove items from
> other areas of RT and replace them with my own.
You would use local versions of the Mason components. RT doesn't (at
this point) have that modular or dynamic of an architecture.
It'd be great to have flexibility for users to see what they want in
the layout - it'd probably be a big-ish undertaking to implement it.
My ultimate goal, as I've
> said, is to redo the ticket history section on ticket summary and history
> pages, to make it easier to read and follow. I have an idea of how I'd make
> the display I want to see, but how do I also get rid of the default one?
From:
https://docs.bestpractical.com/rt/4.4.1/writing_portlets.html
"Copy /opt/rt4/html/share/SelfService/index.html to
/opt/rt4/local/html/SelfService/index.html"
So if you wanted un-callback-able modifications made to your RT, then
you'd copy, for instance:
/opt/rt4/html/share/Ticket/Display.html
to
/opt/rt4/html/local/Ticket/Display.html
and then hack on the latter.
-m
More information about the rt-users
mailing list