Welcome to Geeklog, Anonymous Monday, December 30 2024 @ 12:31 pm EST
Geeklog Forums
plugins and admin Command and Control
Status: offline
jlhughes
Forum User
Full Member
Registered: 04/25/02
Posts: 154
I've written a couple of site-specific "plugins" and I'm having trouble making the admin link show up in the "Command and Control" part of moderation.php.
The plugins both show up when you access admin/plugins.php.
The plugins both show up in the User Functions menu.
I have created a directory in admin/plugins/ with the name of the plugin and added an index.php file with the admin tools.
What do I need to do to get moderation.php to add the link to the admin/plugin/pluginname/index.php to the Command and Control section?
8
11
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Have a look at the functions.php of the static pages plugin:
Text Formatted Code
/*** This will put an option for static pages in the command and control block on
* moderation.php
*
*/
function plugin_cclabel_staticpages()
{
global $LANG_STATIC, $_CONF;
return array($LANG_STATIC['staticpages'],$_CONF['site_admin_url'] . '/plugins/staticpages/index.php',$_CONF['site_url'] . '/staticpages/images/staticpages.gif');
}
bye, Dirk
9
11
Quote
Anonymous
Anonymous
Does any one know how I can just add a links under the command and control? Do I have to write a function to accomplish that task? Please help... Thanks, Dan
6
8
Quote
All times are EST. The time is now 12:31 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content