Sohowiki Sandbox
From Sohowiki
Revision as of 15:05, 18 May 2006 by 70.155.66.187 (Talk)
Write now, organize and place later. This is the place to draft content before you know exactly where it should go...also good place for expermimenting with wiki markup.
hook_attach()
Include your custom script at a designated place in the Pro Edition source code.
Example hook from sohoadmin/program/header.php
eval(hook("header.php:top_javascript", basename(__FILE__)));
Example hook attachement call taken from from install_manifest.php for QuickEdit Dropdown Menu plugin...
hook_attach("quickedit_js.php", "header.php:top_javascript");