Layout Customization

The script uses a template system that makes it easy to customize the layout. In the folder /template/default/ reside all the HTML files that contain the layout of the front end.


Contains the overall layout


Contains the guestbook entries


Contains the styles


Contains the language selection

Create New Template Set

In order to create a new template set, create a new folder (e.g. /my_design/) inside the directory /template/. Copy at least the files layout.tpl.html and style.css from the folder /default/ into your new folder. If you want to customize the complete page including the detail template, you have to copy the other files, too.

In order for the script to use the new layout you need to open the file index.php and add following line of code on top of the file, but below <?php.

define('G7K_ALTERNATIVE_TEMPLATE', 'my_design');

Important: Replace my_design with the name of your new layout folder.