2011-07-21, 03:30:37
In the part where you register your component
'simple_events_createevent' # Function that displays content
this function is the one that gets called when they click on your Event side menu.
thus write a function in your plugin
and this is where you can add your form and logic.
Code:
# register plugin
register_plugin(
$thisfile, # ID of plugin, should be filename minus php
'Multisite Plugin', # Title of plugin
'0.1', # Version of plugin
'Johannes Pretorius', # Author of plugin
'http://www.dominion-it.co.za/', # Author URL
'Can Administer and Display multiple sites from one admin section.', # Plugin Description
'plugins', # Page type of plugin
'simple_events_createevent' # Function that displays content
);
'simple_events_createevent' # Function that displays content
this function is the one that gets called when they click on your Event side menu.
thus write a function in your plugin
Code:
function simple_events_createevent(){
echo "Hallo world";
}
and this is where you can add your form and logic.
Stopped developing on GS Plugins. Anybody welcome to take the projects over. Thanks for all the support all.