When the Client Administration server creates the web page with the PROIV Client OCX embedded within it, it uses an XHTML file as a template. The Client Administration server ships with one template that displays the PROIV Client OCX at the top in centre of the generated page.

The Client Administration server allows you to define your own template pages to suit the look and feel of your own web site.

Adding Your Own Template:

  1. First you need to create the template page. This is written in the XHTML markup language (for details of XHTML see the W3C web site). Using your HTML editor (if you don't have one try the free PROIV Coda at proiv.com), create the XHTML file and, at the position you want the Client Administration server to embed the PROIV Client OCX, insert the tag <proivclient></proivclient>. You should only place one <proivclient> tag in the template file.

  2. Add the new template file to the Client Administration using the Manage Templates section.

  3. Select the new template for the service in the drop-down (settings section) using the Modifying a PROIV Service section.

When the Client Administration server processes the template page it will embed the OCX at the pre-defined location and it will also update the <head> tag so that the client attempts to connect once it is loaded. If no head tag is present then one will be added.

Comment on this topic

Topic ID: 100005