Navigation:  BookCAT FAQ > Upgrading to the latest version >

Explorer templates

Previous pageReturn to chapter overviewNext page

If you want to use your own customized explorer templates from version 9 you need to make some modifications. Another options is to install the new templates, and then re-apply your customizations to the standard templates.

The BookCAT setup program will ask if you want to install the new explorer templates that ship with BookCAT v10. If you answer yes, your old template folder is backed up.

Note: You can download a zip file with the new templates from here (bookcat10_xsl.zip).


UTF-8

All templates should be updated to use UTF-8 encoding. To do this, change

<?xml version="1.0" encoding="iso-8859-1"?>

to

<?xml version="1.0" encoding="utf-8"?>

and make sure you also save the file with UTF-8 encoding.

You can use this little program to do this automatically (back up your templates first!): ConvertTemplatesToUTF8.exe. Just click the ... button, select the \Explorer Templates folder, then click OK.


Index

Due to the number of changes required in the Index.xsl ("home page") template, we recommend you use the two new index templates: Index.xsl and Index_Statistics.xsl (available in the zip file).


Styles

We recommend you use the new Style.css file you find in the zip file.


GIF files

We recommend you use the updates GIF files you find in the zip file.


Genre

Change "maingenreid" to "primarygenreid" and "maingenre/@id" to "primarygenre/@id" in the following templates: Common.xsl, Book.xsl, BookBrowse.xsl and BookBrowse_Right.xsl.