Is there any way to control the order which the tabs are displayed ? I've got some great plugins, but they look a little odd in the fact that they are not in alphabetical order ?
Thanks
PIA 2.6 Plugin Tab Order
Moderators: Developers, Moderators
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
PIA 2.6 Plugin Tab Order
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
- TheWitness
- Developer
- Posts: 17062
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Jimmy has to fix this. We need a sequence field in the plugin_config table and then use an "order by sequence". There are dependency issues too. Sometimes one plugin has to be loaded before another and not having the dependency recognized will generate issues.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
Is there anything I can do/help with in the meantime ?TheWitness wrote:Jimmy has to fix this. We need a sequence field in the plugin_config table and then use an "order by sequence". There are dependency issues too. Sometimes one plugin has to be loaded before another and not having the dependency recognized will generate issues.
TheWitness
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
For alphabetical order specifically, you can add ' order by name' to the end of the two SQL queries in lib/plugins.php for the api_plugin_hook and api_plugin_hook_function functions.
That should get you tabs in alphabetical order of the plugin short name (the directory name).
Hmm, actually, only if all your plugins are new-style. Old-style ones always come after new-style ones.
That should get you tabs in alphabetical order of the plugin short name (the directory name).
Hmm, actually, only if all your plugins are new-style. Old-style ones always come after new-style ones.
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!)
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!)
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
Exactly what I wanted - thanks HowieHowie wrote:For alphabetical order specifically, you can add ' order by name' to the end of the two SQL queries in lib/plugins.php for the api_plugin_hook and api_plugin_hook_function functions.
That should get you tabs in alphabetical order of the plugin short name (the directory name).
Hmm, actually, only if all your plugins are new-style. Old-style ones always come after new-style ones.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
Who is online
Users browsing this forum: No registered users and 3 guests