[rt-users] Looking for correct place to put callback

Raymond Corbett Raymond.Corbett at arcproductions.com
Mon Mar 25 17:12:03 EDT 2013


Stubborn I guess but I just keep refusing to give up.

Bart offered this solution to me:

Basically, get his callback which adds the CF's to the ticket update page and add it to your callback which will get loaded for the quick create box.

The only thing I don't know is the name of the callback, but I think you could look in the code of the file you just created and search for callback and you'll get some names (I hope).
Otherwise check the wiki page I just linked, it has some info on finding what callback you need to use.

Since it is the Quick Create portlet that I want to affect:

*         I looked into  rt4/local/html/Elements  and I found QuickCreate  which is the code that seems to populate the portlet with all the options

*         I found in this file                    % $m->callback(CallbackName => 'InFormElement');

Therefore I assumed that I had to name my callback file   InFormElement   so I did.

My path is:
Rt4/local/html/Callbacks/InterfaceCallbacks/Elements/QuickCreate/InFormElement

But not go.    I notice the customizing with CallBacks doc talks of path to html-page.    There is a share/html/Ticket/Create.html
but this not the case with Quick Create.    It is not called QuickCreate.html

Any suggestions to help me out.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130325/8bc2ad88/attachment.htm>


More information about the rt-users mailing list