- This line was added.
- This line was removed.
- Formatting was changed.
|Template Toolkit is the main template system for the cPanel and WHM interfaces.|
Access the Template Toolkit system
cptt tags to access the Template Toolkit system from HTML files.
cptt tags reference a file that is relative to the
/usr/local/cpanel/base/frontend/theme directory, where
theme represents the cPanel theme (
paper_lantern or another valid theme on the server).
For example, to call the
/usr/local/cpanel/base/frontend/paper_lantern/templatefile.tmpl file from within an HTML file, use the following code in a Paper Lantern theme page:
<?cptt templatefile.tmpl ?>
HTML files and the