anybody can tell me, how i can change my cacti default user login page at Linux-Debian ?
i want to replace and put my organization logo design (plz see the attachment) instead of cacti default page.
plz tell me step by step procedure how i can change background picture of the User Logon page and others inside pages ?
waiting for kind reply.
how to change background image ?
Moderators: Developers, Moderators
how to change background image ?
- Attachments
-
- logo-new.jpg (11.16 KiB) Viewed 6330 times
--
Thanks &
Warm Regards.
=============================
Engr. Md. Alihyder Bhuiyan
Mob : +88 01611 001 606
+88 01191 001 606
+88 01552 444 262
Thanks &
Warm Regards.
=============================
Engr. Md. Alihyder Bhuiyan
Mob : +88 01611 001 606
+88 01191 001 606
+88 01552 444 262
Re: how to change background image ?
http://forums.cacti.net/viewtopic.php?p=216519#p216519
For other images except login logo, replace appropriate files within images/ directory.
Code: Select all
function plugin_loginmod_cacti_image ($image) {
// return $image;
return $config['url_path'] . 'images/logo-new.jpg';
}
Re: how to change background image ?
I have followed the instructions and made the change with desired company logo.
1. Downloaded loginmod plugin
2. Moved to plugins directory (/var/www/cacti/plugins)
3. Renamed loginmod1.0 to loginmod
4. Changed the owndership from 500:500 to cacti:cacti
5. Now opened the Cacti application portal & Clicked plugin management where I found loginmod.
6. Clicked the arrow button to install it.
7. Then uploaded the company logo in the images directory ( /var/www/cacti/images)
8. Searched & uncommented the function plugin_loginmod_cacti_image and written the loginmod function in setup file (/var/www/cacti/plugins/loginmod/setup.php) as below:
#function plugin_loginmod_cacti_image ($image) {
# return $image;
#}
function plugin_loginmod_cacti_image ($image) {
// return $image;
return $config['url_path'] . 'images/comp_logo.jpg';
}
9. Logout and then re-login and got the desired results
Cheers !!!
1. Downloaded loginmod plugin
2. Moved to plugins directory (/var/www/cacti/plugins)
3. Renamed loginmod1.0 to loginmod
4. Changed the owndership from 500:500 to cacti:cacti
5. Now opened the Cacti application portal & Clicked plugin management where I found loginmod.
6. Clicked the arrow button to install it.
7. Then uploaded the company logo in the images directory ( /var/www/cacti/images)
8. Searched & uncommented the function plugin_loginmod_cacti_image and written the loginmod function in setup file (/var/www/cacti/plugins/loginmod/setup.php) as below:
#function plugin_loginmod_cacti_image ($image) {
# return $image;
#}
function plugin_loginmod_cacti_image ($image) {
// return $image;
return $config['url_path'] . 'images/comp_logo.jpg';
}
9. Logout and then re-login and got the desired results
Cheers !!!
Who is online
Users browsing this forum: No registered users and 0 guests