Easy Plugin developement
by
02 Oct 2005
You are developing Plugins on localhost and don't like the Plugin Manager too much because of it's limited editing capabilites and would rather like to use your favourite editor? Then you might find the following useful: 1) Create a directory hooks in your includes directory 2) In File class_hook.php find PHP Code:
return $this->pluginlist["$hookname"];
PHP Code:
return @file_get_contents(DIR . "/includes/hooks/hook_$hookname.php");
Example: hook_global_start.php for a Plugin on global_start Note: Don't use <?php and ?>-Tags or your code won't work! |