From: Tyler A. <fi...@ru...> - 2001-04-12 13:34:23
|
> Where do I find out what "Hooks" are > available for me to use in the $squirrelmail_plugin_hooks array? Um, did you look in the doc/ directory? There's a file there that is called plugin.txt and it lists all of the hoooks. I believe it also tells you a little on how to code them. Also, as a convention, please use a unique name in your plugins for functions. Let's say I made a plugin called "attachment_common" (which I did!)... Functions should be attachment_common_do_something() plugin_attachment_common_do_something_else() or something that is unique to your plugin so that it doesn't conflict with other plugins and so that it doesn't conflict with SquirrelMail base code. |