Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version. Compare with Current ·  View Page History

Given the system is built around HTML using the HTTP protocol, the user is able to entirely customise the look and feel of all HTML pages and reports.

Each report produced by the system consists of a header, body (containing the information), and a footer. Whilst the body of the report is shaped by the parameters that are passed to it, the header and footer will remain constant and can be edited using any HTML editor.

Each report has an ID number assigned to it, as follows:

Report nameID
Custom Report1
Billing Report2
Organisation Drill-Down3
Trunks Busy4
Call Geography5
Top Calls6
Incoming Response Analysis7
Frequent number
8
Target response90
Extension Usage91
Daily activity92
Account summary93
Full Call Analysis94
First and Last Calls95
Cost Summary97
Inbound Call Performance98
Business Centre Summary100

 

 

 

 

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.

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.

Each report has an ID number, as follows:

Report name ID
Custom Report 1
Billing Report 2
Organisation Drill-Down 3
Trunks Busy 4
Call Geography 5
Top Calls 6
Incoming Response Analysis 7
Dialled Numbers Report 8

Using these ID numbers, header and footer files can be created in the \data folder in the form customheader_x.html and customfooter_x.html, where x is the ID number of the report whose output you want to customise.

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 \data folder named customheader_2.html.

The raw HTML for such a file may look something like the following:

This example uses server-side includes (SSIs) which are explained later in this section.

The example code would produce an output similar to the following:

Customisation

When creating header and footer files, it is important to remember that the system constructs the final report from three bits of HTML - the header, the body, and the footer. Whilst it is not essential for some web browsers, you should stick to the HTTP specification where an HTML page is completely housed in a pair of tags. This means that the report, taken as a whole consisting of all three parts, collectively subscribes to this convention. Your header should contain the tag, whilst your footer should contain the tag.

The system constructs reports in this way to allow maximum flexibility. For example, the whole report may be indented by having a tag in the header and a tag in the footer. The resultant report, including the body, will therefore be indented.

Labels: