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.
layout.tpl.html |
Contains the overall layout |
email.tpl.html |
Contains the details |
style.css |
Contains the styles |
emailmessage.tpl.html |
If the user has JavaScript enabled, this template will be used to display the e-mail message. |
emailmessagelist.tpl.html |
If the user has JavaScript enabled, this template will be used to display the e-mail message list |
emailaddress.tpl.html |
If the user has JavaScript enabled, this template will be used to display the e-mail address |
language.tpl.html |
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('T12L_ALTERNATIVE_TEMPLATE', 'my_design');
Important: Replace my_design with the name of your new layout folder.