PITS /
00692: How to change HandleAction login
Summary: How to change HandleAction login
Created: 2006-03-07 18:47
Status: Closed
Category: Documentation
From: Isidor
Assigned:
Priority: 3
Version: 2.1
OS: NA
Description: Hi,
We're looking to upgrade our farm from 2.0 to 2.1, we're using a customized login action. In 2.1 login is a core action calling HandleLoginA function
I would like to have login calling HandleLoginB function the syntax SDV( isn't working.
Using $HandleActions['login'], 'HandleLoginB'); is working but I'm not sure that's the way to do.
$HandleActions['login'] = 'HandleLoginB';
It would be nice to have this explained in the documentation.
Regards Isidor
Yes, the way you've written it is correct. The SDV function is documented at Cookbook:Functions -- you're correct that it probably belongs in the main documentation (I'm guessing it goes in PmWiki.Functions).
--Pm