Jump to content

How do I create my page with a common look and feel?


Recommended Posts

On 24/07/2020 at 13:43, doctype222 said:

Tell me how to add a new page without using any modules? One php file should be in the root and another tpl in the template folder. Just what content should there be?

https://developers.whmcs.com/advanced/creating-pages/

the above describes the basic content of the .php file - there are some elements in there you might not need.

with regards to the content of the .tpl, then that depends on what it's going to display... it the content needs formatting, then the template will likely need to contain HTML and possibly Smarty too.... examine one of the existing templates to get an understanding of how they work.

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