Plugin Management - No Installed/Uninstalled/Download Tabs

Support for the Plugin Architecture

Moderators: Developers, Moderators

Post Reply
chuckiewonder
Posts: 2
Joined: Wed Jan 07, 2009 7:32 am

Plugin Management - No Installed/Uninstalled/Download Tabs

Post by chuckiewonder »

I installed the newest version of the Plugin Arch. (2.4) on a new Cacti install but it is not showing the Installed, Uninstalled, Download, or Update tabs. Everything else seems to work correctly, except for the tabs on top.

[img][/img]

I'm currently using Cacti 0.8.7D with PA 2.4 on SLES.

Any help will be greatly appreciated!!
Attachments
No-Tabls.JPG
No-Tabls.JPG (77.14 KiB) Viewed 6055 times
tonyperez
Posts: 34
Joined: Sat Nov 05, 2005 12:43 am
Location: Guadalajara, Jalisco, Mexico

Post by tonyperez »

Hello chuckiewonder ..

Just uncomment this lines on /path_to cacti/plugins.php:

Code: Select all

/* tab information */
$ptabs = array(
	"current" => "Installed",
//	"uninstalled" => "Uninstalled",
//	"download" => "Download",
//	"updates" => "Updates",
);

Code: Select all

/*
	print "<table class='tabs' width='98%' cellspacing='0' cellpadding='3' align='center'><tr>\n";

	if (sizeof($ptabs) > 0) {
		foreach (array_keys($ptabs) as $tab_short_name) {
			print "<td " . (($tab_short_name == $current_tab) ? "bgcolor='silver'" : "bgcolor='#DFDFDF'") . " nowrap='nowrap' width='" . (strlen($ptabs[$tab_short_name]) * 9) . "' align='center' class='tab'>
				<span class='textHeader'><a href='plugins.php?tab=$tab_short_name'>$ptabs[$tab_short_name]</a></span>
				</td>\n
				<td width='1'></td>\n";
		}
	}

	print "<td></td>\n</tr></table>\n";
*/

Code: Select all

/*
	$last_check = read_config_option("plugin_update_last_check");
	if ($last_check < 1)
		$last_check = 0;

	print "<center>Last Scanned : " . ($last_check > 0 ? date("F j, Y g:i:s a", $last_check) : "Never") . "</center>";
*/
Works fine to me.

Regards

Tony Perez
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Post by cigamit »

Um... that is by design. The tabs were removed, and the uninstalled and installed portions were merged together. The Updates and Downloads were not even written to actually work yet, so there was no point to them.
tonyperez
Posts: 34
Joined: Sat Nov 05, 2005 12:43 am
Location: Guadalajara, Jalisco, Mexico

Post by tonyperez »

cigamit wrote:Um... that is by design. The tabs were removed, and the uninstalled and installed portions were merged together. The Updates and Downloads were not even written to actually work yet, so there was no point to them.
Good point Cigamit :)

Thanks.

Tony Perez
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Post by phalek »

cigamit wrote:Um... that is by design. The tabs were removed, and the uninstalled and installed portions were merged together. The Updates and Downloads were not even written to actually work yet, so there was no point to them.
Though I liked the uninstalled and installed tab, as it makes the plugin page more readable.

I have several plugins not actually installed, so leaving them at the uninstalled tab makes the plugin page not so over-crowded as it is at the moment ...
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Post by cigamit »

Oh, I liked it too, but you would be surprised how many emails I would get with people saying they couldn't see their plugins, when all they had to do was click the Uninstalled tab.

I will probably break the page up a bit more and separate the Installed / Uninstalled / Old Plugins on the same page.
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Post by phalek »

cigamit wrote:Oh, I liked it too, but you would be surprised how many emails I would get with people saying they couldn't see their plugins, when all they had to do was click the Uninstalled tab.
...
That's the time when emails should actually cost postage ... you would be surprised how many ppl then would be able to find the uninstalled tab themselves ... ;-)

But yes, grouping the things a bit more would make it easier. I already thought it's actually a bug or something ... hehe
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests