Jump to content

Custom Templating Question


bms85

Recommended Posts

I have gone through the wiki, but all it does is point me to the template files. Anyone who has never looked at whmcs can find the files easily they are in templates/defult. don't need a wiki for that.

 

Does anyone know where there is any info that is actually useful for speeding up the templating process? Like which file controls the layout. A lot of files like homepage.tpl are only elements. sure if I dig through this for a day or two I can figure it out, but isn't a wiki supposed to help with that?

 

1. Duplicate the "default" folder in the templates folder and rename it to a custom name

2. You can then make your changes to the template files as required - header.tpl and footer.tpl affect the header and footer of all pages - all other template files are for their respective pages

3. Once complete, upload your new templates folder to the templates directory of WHMCS on your server

4. Finally, to activate the template, login to the admin area, go to Configuration > General Settings and on the first tab of the general settings choose your custom template name from the Template dropdown menu.

 

This is the extent of the templating help, does anyone have any advice to help me get on my way without opening every file and trying to figure out what they have going on? There has to be one file holding them together since most are just elements.

Link to comment
Share on other sites

To customize whmcs you start with the header and footer as you pointed it out in WIKI

 

2. You can then make your changes to the template files as required - header.tpl and footer.tpl affect the header and footer of all pages - all other template files are for their respective pages

 

If you want to further customise it you'll have to edit the stylesheet and the individual tpl depending on what you want to do.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated