When adding/modifying/validating links from the editor browser, which hooks are need to add functions?
Specificially, I need to something when:
-a link is validated for the first time by the administrator
-a pending change is validated by the administrator
I'm guessing I use a POST hook on modify_link, but how do I make sure that my function is only called when the admin validates the initial addition or subsequent changes? According to the hook documentation, there is "failure", and "success" branch to deal with.
That said, it seems that site_html_modify_success would do what I want except it seems it only runs when modify_link is invoked from modify.cgi.
Advice here would be greatly appreciated!
Philip
------------------
Limecat is not pleased.
Specificially, I need to something when:
-a link is validated for the first time by the administrator
-a pending change is validated by the administrator
I'm guessing I use a POST hook on modify_link, but how do I make sure that my function is only called when the admin validates the initial addition or subsequent changes? According to the hook documentation, there is "failure", and "success" branch to deal with.
That said, it seems that site_html_modify_success would do what I want except it seems it only runs when modify_link is invoked from modify.cgi.
Advice here would be greatly appreciated!
Philip
------------------
Limecat is not pleased.