[rt-users] where the callback code are available ?

Kevin Falcone falcone at bestpractical.com
Thu Aug 25 10:32:35 EDT 2011


On Thu, Aug 25, 2011 at 10:20:40AM +0100, SathiyaMoorthy SP wrote:
>    Yeah, Ruslan pointed me to that URL.
>    But the information i find there was not useful with RT 4.0.1
>    The page explains about the RT 3.8.7 and availability of callback code at ( example )

That page is fully applicable to 4.0.

>  /opt/rt3/local/html/Callbacks/MyCallbacks/Ticket/Display.html/Initial
> 
>    But this directory Callbacks is not available under '/opt/rt4/local/html'

You must make it.  Just like you must create the files.  We do not
ship every possible callback as an empty file.

-kevin

>    So i searched the whole directory tree, and ( used find ) even no file is available with any
>    callback name. Grepped - And no file also has content with that name ( no definition for
>    callbacks I searched, but found some other files which are only calling this callback - not
>    definition )
>    Kindly let me know where can I find the definition of this callback in RT 4.0.1 ?
>    Thanks
>    Moorthy
> 
>    On Wed, Aug 24, 2011 at 10:17 PM, Kevin Falcone <[1]falcone at bestpractical.com> wrote:
> 
>      On Wed, Aug 24, 2011 at 09:41:36PM +0100, SathiyaMoorthy SP wrote:
>      > Hi,
>      > Where does these callbacks code are available ?
>      > % $m->callback(CallbackName => 'BeforeActionList', ARGSRef => \%ARGS, Ticket => $Ticket);
>      > To understand how does this works, I was trying to find out where does the
>      BeforeActionList
>      > resides ? But unable to find it in the entire RT4 installation base ? Can somebody pls
>      help me
>      > ?
>      > Tried the following to find out, where / what ?
>      > 1. by MasonX::Profiler ( came to know by the reply for my another question ) -- but no
>      success
>      > with it also.
>      > 2. find /opt/rt4 -iname '*beforeactionlist*' # no output
>      > 3. find /opt/rt4 -type f | xargs grep -i 'BeforeActionList' # all are same kind of
>      callbacks !
>      > no code/definition...
>      > I tried to find out the other callback codes, those are all also not available ! Any
>      pointers
>      > / help is highly appreciated ..
> 
>      I believe Ruslan pointed you to
>      [2]http://requesttracker.wikia.com/wiki/Customizing
>      which covers Callbacks
>      -kevin
>      --------
>      RT Training Sessions ([3]http://bestpractical.com/services/training.html)
>      * Chicago, IL, USA * September 26 & 27, 2011
>      * San Francisco, CA, USA * October 18 & 19, 2011
>      * Washington DC, USA * October 31 & November 1, 2011
>      * Melbourne VIC, Australia * November 28 & 29, 2011
>      * Barcelona, Spain * November 28 & 29, 2011
> 
> References
> 
>    Visible links
>    1. mailto:falcone at bestpractical.com
>    2. http://requesttracker.wikia.com/wiki/Customizing
>    3. http://bestpractical.com/services/training.html

> --------
> RT Training Sessions (http://bestpractical.com/services/training.html)
> *  Chicago, IL, USA ? September 26 & 27, 2011
> *  San Francisco, CA, USA ? October 18 & 19, 2011
> *  Washington DC, USA ? October 31 & November 1, 2011
> *  Melbourne VIC, Australia ? November 28 & 29, 2011
> *  Barcelona, Spain ? November 28 & 29, 2011

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20110825/56cdd96d/attachment.sig>


More information about the rt-users mailing list