doctype222 Posted July 24, 2020 Share Posted July 24, 2020 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? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted July 27, 2020 Share Posted July 27, 2020 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. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.