It looks like you're new here. If you want to get involved, click one of these buttons!
I am experimenting with the SimplePages addon Linc made.
What i want to achieve is a custom build menu to the sidebar. I did read that i had to make a module for it.
This is what i have added to the class.simplepages.plugin.php
// No Panel, and allow more styling via body class 'SimplePage' include_once(PATH_PLUGINS.DS.'SimplePages'.DS.'class.simplepagesmodule.php'); // path to module $Sender->AddModule('SimplePagesModule', 'Panel'); // add the module $sender->AddCssFile('plugins/SimplePages/design/simplepages.css'); // add specific css file $sender->CssClass .= ' NoPanel SimplePage'; unset($sender->Assets['Panel']);
What is the code i have to make in class.simplepagesmodule.php?
Or is there another easy way to add the menu to the sidebar?
Look here what i mean: http://forum.webprofis.nl/tuts-en-scripts#one3