Skip to main content.

HIC SVNT LEONES

PHITE offers flexible skins to change the appearance of a Web site, but this feature hasn't been tested thoroughly and there is very little documentation, especially for the modified version used here.

Customising the appearance of a PHITE site

Since the pages of a PHITE Web site are generated from HTML text blocks and navigation menus, their appearance can be changed almost completely by modifying the global formatting templates (skins). The skin chooser on the PHITE homepage gives an impressive demonstration of this feature.

The modified PHITE version used here includes a single, professionally designed skin. The original PHITE skins will not work because of changes in the page structure. If you wish to change the appearance of the Web site, make a copy of the default skin and modify it according to your requirements. This will involve some trial & error, as there is no documentation for skin authors yet. It is probably a good idea to familiarise yourself with the TemplatePower system used by PHITE.

Some parts of the site boilerplate can easily be changed by all editors: (a) a copyright message or contact information shown on the left-hand side of the footer bar, and (b) the page metadata returned as part of the HTML header. These items are specified in files GLOBAL/footer.inc and GLOBAL/meta.inc, but can be overridden for individual subsites or pages in the usual way (i.e. by putting a file of the same name in the respective directory).

Defining skins

Skins are defined by template files in the directory GLOBAL/skin. For instance, the default skin SinorcaGrey is implemented by the file GLOBAL/skin/SincorcaGrey.tpl (note that the filename corresponds to the name of the skin). If skins require additional support files (such as CSS stylesheets or background images), these files should be kept in an appropriate subdirectory of GLOBAL/skin_files, e.g. GLOBAL/skin_files/SinorcaGrey for the default skin.

All PHITE skins are globally defined for the entire Web site, but the individual subsites can have different default skins (e.g. if you want to separate them visually with different colour schemes).

From here on, you are on your own. The best strategy is to make a copy of the default skin SinorcaGrey.tpl (don't forget to copy the support files, too!), try to understand its structure and the included template instructions, and then start by making small changes to the layout.