Pagination issues in CCM services

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Brian_M
Posts: 43
Joined: Wed Apr 04, 2012 8:08 am

Pagination issues in CCM services

Post by Brian_M »

Hello Gentlemen,

Is there a way to truncate the pagination controls in the CCM? When I first enter the CCM services, I have to scroll down to the bottom to get to the search query (see provided example below) due to every page of services showing up on the initial page. Our new laptops come with the utterly useless 1600x900 screens so we have little vertical real estate and find ourselves scrolling much more these days.

Xi 2012R2.1

Thanks,
Brian
You do not have the required permissions to view the files attached to this post.
Last edited by Brian_M on Tue Jun 11, 2013 4:31 am, edited 1 time in total.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Pagination issues in CCM services

Post by abrist »

The page numbers should be listed at the top and bottom of the ccm page. Until we work out a better pagination solution, you can disable the top pagination links by changing the file:

Code: Select all

/usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php
Edit Line # 113 From:

Code: Select all

<div id='pagenumbersDiv'>$pagenumbers</div> <!-- pagenumbers div -->
To:

Code: Select all

<!--<div id='pagenumbersDiv'>$pagenumbers</div> <!-- pagenumbers div -->
It is just a work around though. Make a note that this change will most likely not persist through upgrade and will have to be reapplied after the fact.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Brian_M
Posts: 43
Joined: Wed Apr 04, 2012 8:08 am

Re: Pagination issues in CCM services

Post by Brian_M »

Thanks for the quick response, please mark as resolved :-)
Locked