top_header and top_graph_header - buttons

Discussions on developing plugins for the Cacti Plugin Architecture

Moderators: Developers, Moderators

Post Reply
User avatar
macan
Cacti Guru User
Posts: 1137
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

top_header and top_graph_header - buttons

Post by macan »

Hi,
I'm trying write plugin (PIA 2.8 or 2.9) which has own tab/button (next to graphs, thold, ..). I'm modifying plgexample. I have problem with button "console". When I use top_header in my plugin and my plugin is active - I have two red buttons (console and my plugin). When I use top_graph_header (instead top_header.php) I have only one red button (my plugin). It is ok, but I have on right side button treeview, listview. My plugin don't need right buttons, I would like use top_header without right buttons but with only one red button.

Is it feature of cacti (2 red buttons) or my error? :-)
Attachments
2 red buttons
2 red buttons
cacti_header3.gif (50.98 KiB) Viewed 3548 times
Let the Cacti grow!
hmorandell
Cacti User
Posts: 73
Joined: Mon May 03, 2010 11:48 am

Re: top_header and top_graph_header - buttons

Post by hmorandell »

Hi,
do you create a pkugin to show the thold log stored in database? I was wondering why there is no way to have displayed it, and started also to write a simple log viewer, but not as a plugin.
_________________
Cacti - 1.2.14
Poller Type - SPINE 1.2.14
Devices 3,892
Graphs 21,483
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Re: top_header and top_graph_header - buttons

Post by mcutting »

hmorandell wrote:Hi,
do you create a pkugin to show the thold log stored in database? I was wondering why there is no way to have displayed it, and started also to write a simple log viewer, but not as a plugin.
The THOLD plugin in SVN has the logs enabled :)
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest