A positionable, collapsable and configurable replacement for CMSimple's editmenu.
© 2010 Martin Damken, zeichenkombinat.de.
The plugin is free for use in the scope of your own website, «commercial» or not. Professional web-designer who are planning to deliver it as part of their service to their customers, please contact me for a commercial license!
But anyway, if you like it, a small donation via paypal is always appreciated!
CMSimple_xh. (Or, to be more exact, a Pluginloader Version >= 2.1).
It should look like this:
The file plugins/wr_adminmenu/config/config.php needs to be set writeable.
(To edit the languages and the stylesheet online do the same with the language files in plugins/wr_adminmenu/languages and plugins/wr_adminmenu/css/stylesheet.css.)
<?php echo wrAdminmenu();?>
" somewhere into your template (templates/your_template/template.htm).
PluginMenu('ROW', '', '', '');
.
PluginMenu('DATA', '', '', $pluginloader_plugin_selectbox);
$o .= PluginMenu('SHOW');
(In the current Pluginloader Version 2.1.11 you'll find it in lines 180-183). Put the lines into an if_clause:
if(!strpos(file_get_contents($pth['file']['template']), 'wrAdminmenu(')){
PluginMenu('ROW', '', '', '');
PluginMenu('DATA', '', '', $pluginloader_plugin_selectbox);
$o .= PluginMenu('SHOW');
}
Now the plugin-selectbox will only be shown above the content, if you are not using wr_adminmenu. If you are not offering a template with the standard-editmenu in your installation, just outcomment the lines.
Logout, the switch between edit and preview mode and the menu-manager (if you have integrated it) are always available.
The other menu links may be turned off. If you activate the "admin mode" by adding the password to the adress
http://www.example.com/?&dein_passwort
you have acces to the complete menu again.
You may offer another website or your email as help link.
... at cmsimpleforum.com.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.