Jump to content

Where is info about creating custom tpl files?


paperweight

Recommended Posts

Hello:

I've been struggling through the upgrade from v5 to v6 now for about half a year. And I'm almost done. The last thing is to customize the 6 template with our template components from v5.

 

So to that end, I need to figure out how to make my own template files. On http://docs.whmcs.com/Customising_the_Six_Theme it lacks info on how to make my own .tpl and .php file to cal the .tpl. Unfortunately the system that we used for v5 is breaking on v6.

 

Can someone point me to where info is located on how to create a .tpl and .php file? Tkz~

Link to comment
Share on other sites

Easy :) Tkz!!

 

- - - Updated - - -

 

Hmmm, a question though.

 

In the new v6 I enter a Page Title with those code:

 

$ca->setPageTitle("Your Page Title Goes Here");

 

But in the old v5 system I could use the language files to output different page titles depending on the language with those code:

 

$ca->setPageTitle("$_LANG['mycustomtitle_cloudcompute']");

 

Is there a way to do the same thing in v6? Can I add a lang string to the setPageTitle in some way?

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