What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

Deleting page breaks

Votes:

0

hello,

We copied and modified files A65 Data Table and Table only.htm 24h.htm to have reports that suit us (only table value). A report generation we jumps important pages, display there only one sensor per page. We would like to remove the page breaks for multiple sensors to display per page.

pages prtg report reports settings

Created on Nov 5, 2013 3:27:49 PM



Best Answer

Accepted Answer

Votes:

0

This reply applies to PRTG Network Monitor 15 or later

The .onereport CSS rule is slightly different as of PRTG version 15. You can find this rule in reports.css in the \webroot\css subfolder of your PRTG program directory.

.onereport {
  [... some css stuff ...]
  page-break-after: always;
}

So the change to the edit to the template file would nowadays look like this:

<div class="onereport report<@counter>" style="page-break-after: auto !important;">

This is defined by the details referred by your template, which are in the \details subfolder of \reporttemplates\.

Created on Aug 14, 2015 8:02:02 AM by  Luciano Lingnau [Paessler]

Last change on May 3, 2017 11:14:29 AM by  Gerald Schoch [Paessler Support]



2 Replies

Votes:

0

This answer applies to PRTG version 13.3. or later

The pages breaks are controlled by this CSS rule:

.onereport
{
	[... some css stuff ...]
	page-break-before: always;
}

If you do not want these, please find this line in your own template file:

<div class="onereport report<@counter>">

and edit it like this:

<div class="onereport report<@counter>" style="page-break-before: auto !important;">

Created on Nov 7, 2013 3:58:40 PM by  Dirk Paessler [Founder Paessler AG] (11,025) 3 6



Accepted Answer

Votes:

0

This reply applies to PRTG Network Monitor 15 or later

The .onereport CSS rule is slightly different as of PRTG version 15. You can find this rule in reports.css in the \webroot\css subfolder of your PRTG program directory.

.onereport {
  [... some css stuff ...]
  page-break-after: always;
}

So the change to the edit to the template file would nowadays look like this:

<div class="onereport report<@counter>" style="page-break-after: auto !important;">

This is defined by the details referred by your template, which are in the \details subfolder of \reporttemplates\.

Created on Aug 14, 2015 8:02:02 AM by  Luciano Lingnau [Paessler]

Last change on May 3, 2017 11:14:29 AM by  Gerald Schoch [Paessler Support]




Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.