Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Screenshotmacro
Borderfalse
Shadowfalse
URL/download/attachments/7241982/customisation.png

The system constructs the final report from three different pieces of HTML - the header, the body and the footer. Whilst it is not essential for some browsers, you should comply to the HTTP specifications and include the HTML page in a pair of HTML tags. As the final report needs to be rendered in one single file, the open HTML tag must be placed in the header and the closed HTML tag in the footer of the report.

 

 

 

 

 

 

 

 

 

HTML
<p>Given that the system is built around HTML using the HTTP protocol, this allows the user to
completely customise the look and feel of all HTML pages and reports.</p>

<p>Each report that is produced by the system consists of a header, the body (containing the
information), and a footer.  Whilst the body is customised by the
parameters that are passed to the report, the header and footer
remain constant and can be edited using any HTML editor such as,
amongst others, Microsoft FrontPage.</p>

<p>Each report has an ID number, as follows:</p>

<table class="confluenceTable">
	<tbody>
		<tr>
			<th class="confluenceTh">Report name</th>
			<th class="confluenceTh">ID</th>
		</tr>
		<tr>
			<td class="confluenceTd"><b>Custom Report</b></td>
			<td class="confluenceTd">1</td>
		</tr>
		<tr>
			<td class="confluenceTd"><b>Billing Report</b></td>
			<td class="confluenceTd">2</td>
		</tr>
		<tr>
			<td class="confluenceTd"><b>Organisation Drill-Down</b></td>
			<td class="confluenceTd">3</td>
		</tr>
		<tr>
			<td class="confluenceTd"><b>Trunks Busy</b></td>
			<td class="confluenceTd">4</td>
		</tr>
		<tr>
			<td class="confluenceTd"><b>Call Geography</b></td>
			<td class="confluenceTd">5</td>
		</tr>
		<tr>
			<td class="confluenceTd"><b>Top Calls</b></td>
			<td class="confluenceTd">6</td>
		</tr>
		<tr>
			<td class="confluenceTd"><b>Incoming Response Analysis</b></td>
			<td class="confluenceTd">7</td>
		</tr>
		<tr>
			<td class="confluenceTd"><b>Dialled Numbers Report</b></td>
			<td class="confluenceTd">8</td>
		</tr>
	</tbody>
</table>

<p>Using these ID numbers, header and footer files can be created in the <span class="keyword">\data</span> 
folder in the form <span class="keyword">customheader_x.html</span> and <span class="keyword">customfooter_x.html</span>, where <span class="keyword">x</span> is 
the ID number of the report whose output you want to customise.</p>

<p>For example, suppose we wanted to add your company name to the heading of each telephone bill
you produce.  We know that a telephone bill is a Billing Report whose
ID = 2.  The custom header would therefore need to be a standard HTML 
file in the <span class="keyword">\data</span> folder named <span class="keyword">customheader_2.html</span>.</p>

<p>The raw HTML for such a file may look something like the following:</p>

...