Hi,
sorry to be such a pleb here - I see this in the docs for the new SF code:
To call a hook from your custom added code:
---------------------------------------------------------------
1). Create a subroutine with a name prefixed by "h_", such as
h_myhook, in the file $BASE/lib/hooks.pl
2). Call the hook routine from your code. Remember that the
file hooks.pl is loaded in package "main::".
I would like to call a hook subroutine from within Gtld.pm (ie at the end of
register to make payment processing , database processing etc). I would like
to call a hook to do this - say h_ccproc. Could someone who has looked at
the SF code give me a pointer on how I would do that passing over the same
information that a normal hook would receive via the handler in order.cgi ->
hook ?
any pointers much appreciated
cheers
Jim Carey
www.OZbcoz.com discount domain registration
www.iluvoz.com affordable hosting services