Thanks for the help Ian. It doesn't seem to be working for me though.
I have added the hook:
user_login PRE Plugins::Track::login FIRST
and then added the subroutine "login" in the Plugin. And then, just to test I have defined it as
print "Content-type:text/html\n\n";
print "Hook worked";
However, the "Hook worked" message never comes up. What am I doing wrong?
I have added the hook:
user_login PRE Plugins::Track::login FIRST
and then added the subroutine "login" in the Plugin. And then, just to test I have defined it as
Code:
GT::Plugins->action ( STOP ); print "Content-type:text/html\n\n";
print "Hook worked";
However, the "Hook worked" message never comes up. What am I doing wrong?