Missing tab for new plugin

Support for the Plugin Architecture

Moderators: Developers, Moderators

Post Reply
lex8009
Posts: 37
Joined: Thu May 18, 2006 4:30 pm

Missing tab for new plugin

Post by lex8009 »

Please help. I've followed the instruction (http://cactiusers.org/wiki/PluginArchitectureInstall) on installing plugin architecture and added a plugin new plugin is not listed on the realms settings for the user.

Created the "links" folder under .\cacti\plugins. Added these lines in config.php

/*Plugin */

$plugins = array();
$plugins[] = 'links';

/* make sure these values refect your actual database/host/user/password */


Thanks
Attachments
realm.JPG
realm.JPG (91.27 KiB) Viewed 11149 times
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Missing tab for new plugin

Post by cigamit »

lex8009 wrote:Created the "links" folder under .\cacti\plugins. Added these lines in config.php
Your config does look correct, but just for clearity (since you didn't mention it) you did extract the files from the links plugin and place them in the directory you created, correct? So you should have the file at .\cacti\plugins\links\setup.php
lex8009
Posts: 37
Joined: Thu May 18, 2006 4:30 pm

Missing tab for new plugin

Post by lex8009 »

that's correct.
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: Missing tab for new plugin

Post by Howie »

lex8009 wrote: Created the "links" folder under .\cacti\plugins. Added these lines in config.php

/*Plugin */

$plugins = array();
$plugins[] = 'links';
Again, just to be sure... did you add both those lines? The first one should have already been there. You have installed the plugin architecture, right?
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
lex8009
Posts: 37
Joined: Thu May 18, 2006 4:30 pm

plugin

Post by lex8009 »

yes and yes.
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: plugin

Post by Howie »

lex8009 wrote:yes and yes.
Huh? If you installed the plugin architecture, then the

Code: Select all

$plugins = array();
line would have already been added. I don't think the plugin architecture part installed right...

As cigamit said, if the setup.php file is in place, then it should all appear as expected, unless the PA wasn't in right, in which case that code would never be called and nothing would happen.

It's just about the simplest plugin you can write, so I doubt it's the plugin, somehow.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
jga
Posts: 29
Joined: Mon Jul 01, 2002 3:41 pm
Location: Santiago de Chile

Post by jga »

I have the same problem, the plugin works, but tab not shown, only show the link[/img]
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

jga wrote:I have the same problem, the plugin works, but tab not shown, only show the link[/img]
I don't understand. What link?

The only thing the plugin does is show a tab, so if that isn't there, what is it you see that makes you think it works?
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
User avatar
twelzy
Cacti User
Posts: 83
Joined: Wed Mar 30, 2005 6:48 pm
Location: BRAZIL/Brasilia

Post by twelzy »

lex8009,

This just happenned with me yesterday, when I "install" the cycle plugin!
The cycle tab are show ok!
All others plugins are corectily listed in the Realm Permissions!
Anyone have any idea?!

Thanks in advance!
(And sorry for my poor English...)
Thanks in advance!
(And sorry for my poor English...)
_______________________________________
twelzy (Enio Sanches)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest