template->hook->attach('template:layout:top', 'skeleton:layout/header'); // 2. Load the plugin stylesheet (currently empty -- proves the CSS hook fires). $this->hook->on('template:layout:css', array( 'template' => 'plugins/Skeleton/Asset/css/skeleton.css', )); // 3. Load the plugin script (currently empty -- proves the JS hook fires). $this->hook->on('template:layout:js', array( 'template' => 'plugins/Skeleton/Asset/js/skeleton.js', )); } public function getPluginName() { return 'Skeleton'; } public function getPluginDescription() { return t('Reusable skeleton/template for building Kanboard plugins.'); } public function getPluginAuthor() { return 'Ruben (drbeco)'; } public function getPluginVersion() { return '0.1.0'; } public function getPluginHomepage() { return 'https://github.com/drbeco/kanboard-skeleton'; } public function getCompatibleVersion() { return '>=1.2.0'; } }