Pre or Post should work just fine.
The logic_hooks.php file must be in the custom directory. If you want your custom hook to be in the main directory just change the path to it in your hook definition:
PHP Code:
check_logic_hook_file("Accounts", "after_retrieve", array(1, "update_description",
"modules/Accounts/UpdateDescription.php", "updateDescription", "updateDescription"));
Notice that the path is modules/Accounts here. If you want it in the custom directory just add custom/ to the front of the path.
Hope that helps!
Bookmarks