Managing Templates

The WHMCS Pages module uses its own custom template files. These are inserted in between the header.tol and footer.tol files from your theme.

The pages module allows you to create as many of these custom templates as you need and ca be assigned to pages on the edit page screen.

To create a template you need to use the pages sidebar menu and click "manage templates" in there is a default template which cannot be deleted, this is the template that is used if no other template is selected for that page.

Click on new template link to create a new template.

You will be sent to a screen with a code editor where you can add custom HTML or arrange the current HTML details in a different way. Please take note of the code that is added by default, this is all the required content needed for the template to function. The HTML code can be stripped or edited, but the smarty code blocks must stay intact.

Above the code editor is the template title. Please change this to a unique identifiable name so choosing a template is made much easier.

Once you have made your changes you will need to hit save and the template can then be used by any pages you have saved.

You can add as many templates as you want or just use the default template, the choice is yours.

Was this answer helpful?

 Print this Article

Also Read

IIS Rewrite Rules for SEO URL's

It is possible to use SEO URL's when WHMCS is installed on a windows server without any .htaccess...

Addon Install Instructions

To Install Generic WHMCS Addons, you will need FTP access to your server, and Admin details to...

Migrating custom templates from pre 1.5.2 to new structure

Pre version 1.5.2 the content for the page was evaluated by smarty to replace template variables...

The required .htaccess module for SEO urls could not be found, it is possible this function may still exists/work but to be sure please contacting your host ERROR

On some servers, the pages module will not be able to add the .htaccess rewrite rules...

Viewing the RSS Feed

As of V1.5.0 the pages module now creates an RSS feed of all the pages created.This Feed is added...