*/ function skeleton_load(){ register_hook('construct_page', 'addon/skeleton/skeleton.php', 'skeleton_construct_page'); register_hook('feature_settings', 'addon/skeleton/skeleton.php', 'skeleton_settings'); register_hook('feature_settings_post', 'addon/skeleton/skeleton.php', 'skeleton_settings_post'); } function skeleton_unload(){ unregister_hook('construct_page', 'addon/skeleton/skeleton.php', 'skeleton_construct_page'); unregister_hook('feature_settings', 'addon/skeleton/skeleton.php', 'skeleton_settings'); unregister_hook('feature_settings_post', 'addon/skeleton/skeleton.php', 'skeleton_settings_post'); } function skeleton_construct_page(&$a, &$b){ if(! local_channel()) return; $some_setting = get_pconfig(local_channel(), 'skeleton','some_setting'); // Whatever you put in settings, will show up on the left nav of your pages. $b['layout']['region_aside'] .= '