2011-09-06, 01:49:18
J-Gamer Wrote:I'm trying my hands on making a plugin, and I have encountered a problem already...
I added a side menu on the "Pages" tab, but when I click it, all I get is the output of the function but all the side menu's are gone(i.e.: "View all pages","Create new page" and "Activities")
Add 'pages' as 7th parameter of register_plugin:
Code:
register_plugin(
$thisfile, // ID of plugin, should be filename minus php
'Activities', // Title of plugin
'', // Version of plugin
'Jeroen De Busser', // Author of plugin
'', // Author URL
'', // Plugin Description
'pages', // Page type of plugin <== which tab to show when plugin is displayed
'activities_show' // Function that displays content
);