How to remove footer
How to remove footer
Please advice how to remove the following Check for Updates line at the bottom of every page.
It is just wasting the limited screen area and never used. What is the use of the empty space here? I have never seen anything shown on this line. Thanks.
It is just wasting the limited screen area and never used. What is the use of the empty space here? I have never seen anything shown on this line. Thanks.
You do not have the required permissions to view the files attached to this post.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
RHEL 6 & 7
rrdcached & ramdisk optimisation
Re: How to remove footer
Not seeing that empty space on my screen, but to remove the check:
Comment out (HTML comment) the update line in /usr/local/nagiosxi/html/includes/footer.inc.php like so:
Comment out (HTML comment) the update line in /usr/local/nagiosxi/html/includes/footer.inc.php like so:
Code: Select all
<!--<a href="<?php echo get_update_check_url();?>" target="_blank"><?php echo gettext("Check for Updates"); ?> <i class="icon-share"></i></a>-->Former Nagios employee
Re: How to remove footer
That dead space is shown on my screen as well using Chrome and IE.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: How to remove footer
You guys might have those fancy 1900x1200 monitors. We are working on 800x600 CRTs still. (Not really).
Could just be screen resolution, number of toolbars on the browser, etc. I have the whitespace but it is only about 20 pixels or so (half the width of the copyright bar).
Could just be screen resolution, number of toolbars on the browser, etc. I have the whitespace but it is only about 20 pixels or so (half the width of the copyright bar).
Former Nagios employee
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: How to remove footer
I've noticed this too using the Classic XI theme.
With the XI 2014 theme it is aligned with the copyright notice.
Perhaps the Classic theme could be updated to have the "Check for Updates" aligned the same way.
I've also noticed the deadspace, there is more deadspace with the Classic theme, the 2014 theme has deadspace but not as much.
With the XI 2014 theme it is aligned with the copyright notice.
Perhaps the Classic theme could be updated to have the "Check for Updates" aligned the same way.
I've also noticed the deadspace, there is more deadspace with the Classic theme, the 2014 theme has deadspace but not as much.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: How to remove footer
I am using Firefox latest version on notebook 1366 x 768 and also 1284 x 1024 screen. Both show same empty space.tmcdonald wrote:Not seeing that empty space on my screen, but to remove the check:
Comment out (HTML comment) the update line in /usr/local/nagiosxi/html/includes/footer.inc.php like so:
Code: Select all
<!--<a href="<?php echo get_update_check_url();?>" target="_blank"><?php echo gettext("Check for Updates"); ?> <i class="icon-share"></i></a>-->
There were 2 location in the file with the same code. Remarked both.
However more empty space is what I got. Here is my firefox top view, not statusbar and no toolbars on top except for the standard address bar.
You do not have the required permissions to view the files attached to this post.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
RHEL 6 & 7
rrdcached & ramdisk optimisation
Re: How to remove footer
This is why I am not a developer 
This seems to have been fixed in 2014 since I am not seeing it on mine. Checked one of lmiltchev's 2012R2.9 boxes (unmodified) and nothing is there either.
You might have some remaining HTML divs sticking around. There are two sections in that file, one for 2014 style and one for Classic. For the Classic I did the following:
and this is what I have:

Maybe not the "best" fix but it seemed to work for me. The code should be the same in 2012R2.9.
This seems to have been fixed in 2014 since I am not seeing it on mine. Checked one of lmiltchev's 2012R2.9 boxes (unmodified) and nothing is there either.
You might have some remaining HTML divs sticking around. There are two sections in that file, one for 2014 style and one for Classic. For the Classic I did the following:
Code: Select all
<?php //if (is_admin()) { // Only display update link for admin users ?>
<!--<div id="checkforupdates">
<a href="<?php //echo get_update_check_url();?>" target="_blank"><img src="<?php //echo get_base_url();?>images/checkforupdates.png" alt="Check for updates" title="Check for updates" border="0"></a>
</div>-->
<?php //} ?>

Maybe not the "best" fix but it seemed to work for me. The code should be the same in 2012R2.9.
Former Nagios employee
Re: How to remove footer
tmcdonald wrote:This is why I am not a developer
This seems to have been fixed in 2014 since I am not seeing it on mine. Checked one of lmiltchev's 2012R2.9 boxes (unmodified) and nothing is there either.
You might have some remaining HTML divs sticking around. There are two sections in that file, one for 2014 style and one for Classic. For the Classic I did the following:
and this is what I have:Code: Select all
<?php //if (is_admin()) { // Only display update link for admin users ?> <!--<div id="checkforupdates"> <a href="<?php //echo get_update_check_url();?>" target="_blank"><img src="<?php //echo get_base_url();?>images/checkforupdates.png" alt="Check for updates" title="Check for updates" border="0"></a> </div>--> <?php //} ?>
Maybe not the "best" fix but it seemed to work for me. The code should be the same in 2012R2.9.
Code: Select all
<!-- <div class="span6 footer-left">
<?php echo get_product_name(); ?> <?php echo get_product_version(); ?>
<?php if (is_admin()) { // Admins only for updates ?>
•
<!--<a href="<?php echo get_update_check_url();?>" target="_blank"><?php echo gettext("Check for Updates"); ?> <i class="icon-share"></i></a>-->
<?php } ?>
</div> -->
<!-- <div id="checkforupdates">
<!--<a href="<?php echo get_update_check_url();?>" target="_blank"><img src="<?php echo get_base_url();?>images/checkforupdates.png" alt="Check for updates" title="Check for updates" border="0"></a>-->
</div> -->
In 2014 the bar is just too thick.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
RHEL 6 & 7
rrdcached & ramdisk optimisation
Re: How to remove footer
I can put in a request to the devs for this, since any changes I come up with will be both temporary and probably just a hack.
Former Nagios employee
Re: How to remove footer
This will be fixed in the newest version of XI, but for those of you who want it now ... I've put together a zip attached with the changed files.
Instructions:
1. Unzip the files into /tmp
2. Move and replace the files:
Instructions:
1. Unzip the files into /tmp
2. Move and replace the files:
Code: Select all
mv footer.inc.php /usr/local/nagiosxi/html/includes/footer.inc.php
mv core.js /usr/local/nagiosxi/html/includes/js/core.js
mv nagiosxi.css /usr/local/nagiosxi/html/includes/css/nagiosxi.css
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.