Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Re: [Ian] Hook naming bug?

Quote Reply
Re: [Ian] Hook naming bug? In reply to
>>
My install file and plugin module both refer to Plugins::EditorMonitor::user_login not user_loginlink, as created by the plug-in wizard.
<<

The install file _does_ use loginlink

>>
$mgr->install_hooks ( 'EditorMonitor', [ ['user_login', 'PRE', 'Plugins::EditorMonitor::user_loginlink', 'FIRST'] ]);
<<

'user_login' is the hook name
'Plugins::EditorMonitor::user_loginlink' is the routine compiled when the hook is encountered.
Subject Author Views Date
Thread Hook naming bug? Ian 2184 Jun 1, 2002, 11:18 AM
Thread Re: [Ian] Hook naming bug?
Paul 2068 Jun 2, 2002, 1:49 AM
Post Re: [Paul] Hook naming bug?
Ian 2044 Jun 2, 2002, 8:28 AM