Hey,
A nice feature on the 'manage' plugin, are the user settings. Very handy if eveyrbody has a different screen resolutions and so.
But i can't get the default settings to work. Is there a place where i can define these default settings? Or where i can change them?
fe
- default view should be 'site view'
- Secondary view should be 'simple' <<when this is not set, i receive an error 'undefined'>>
- lines in site view would better be 5
...
Plugin Manage: Default settings
Moderators: Developers, Moderators
Plugin Manage: Default settings
- Cacti: 0.8.8f / Plugin Architecture Version: 3.1 / Linuxbased
- Third Party: Apache 2.4.12 / PHP 5.6.11 / NET-SNMP version 5.3.2.2 / RRDTool 1.5.4
- Plugins: Configmanager 0.826 / Aggregate 0.70B2 / Manage 0.6.2 / Weathermap 0.97a / Thold 0.4.9 / Quicktree 0.2 / Realtime 0.5 / Settings 0.7
- Data:Host 1341 / Graphs 6752
Re: Plugin Manage: Default settings
According to source (manage-0.6.1), probably it's like this behavior:
1) At the beginning, there are no user-specific settings in DB. So default settings are applied. (e.g. "Default View" = "List View")
2) These settings are stored in session variable. (e.g. $_SESSION["sess_device_simple"])
3) You can modify user-specific settings at "Settings -> Manage -> User Options". Modifications are stored in DB. (cacti.settings)
4) When Cacti created 'manage' tab at top of the screen, it's linked to 'manage.php' with several settings related to viewing style.
But the value from session variable is used in preference to the value from DB at that time. (That's usual behavior of load_current_session_value() function..) So your settings won't be applied.
I have no idea for its solutions..
If you changed source code to override session variables by DB values, perhaps you won't able to change settings temporarily under 'manage' tab.
1) At the beginning, there are no user-specific settings in DB. So default settings are applied. (e.g. "Default View" = "List View")
2) These settings are stored in session variable. (e.g. $_SESSION["sess_device_simple"])
3) You can modify user-specific settings at "Settings -> Manage -> User Options". Modifications are stored in DB. (cacti.settings)
4) When Cacti created 'manage' tab at top of the screen, it's linked to 'manage.php' with several settings related to viewing style.
But the value from session variable is used in preference to the value from DB at that time. (That's usual behavior of load_current_session_value() function..) So your settings won't be applied.
I have no idea for its solutions..
If you changed source code to override session variables by DB values, perhaps you won't able to change settings temporarily under 'manage' tab.
Re: Plugin Manage: Default settings
My problem is with the site second view.
When a new user does this, he receives an error.
Because the default settings aren't filled in really.
So it's a bit unnice to demo this to new users... :$
When a new user does this, he receives an error.
Because the default settings aren't filled in really.
So it's a bit unnice to demo this to new users... :$
- Cacti: 0.8.8f / Plugin Architecture Version: 3.1 / Linuxbased
- Third Party: Apache 2.4.12 / PHP 5.6.11 / NET-SNMP version 5.3.2.2 / RRDTool 1.5.4
- Plugins: Configmanager 0.826 / Aggregate 0.70B2 / Manage 0.6.2 / Weathermap 0.97a / Thold 0.4.9 / Quicktree 0.2 / Realtime 0.5 / Settings 0.7
- Data:Host 1341 / Graphs 6752
Who is online
Users browsing this forum: No registered users and 3 guests