mfoland Posted August 11, 2018 Share Posted August 11, 2018 Hello, I'm working on a module, that will use php... and I really don't wish to use the whole smarty coding. I did however set my smarty three to allow php templates and php_allow. I'd like to make a custom page like page.php and code there, with calling the template header, css, etc. I'd like to protect my coding with IonCube. Is there a way around this without using a .tpl page 0 Quote Link to comment Share on other sites More sharing options...
Kian Posted August 12, 2018 Share Posted August 12, 2018 Probably I got what you mean in the other thread opened by you. Why don't you want to use Smarty? I mean having it ready to use is a gift from heaven. It allows you to keep your code clean without mixing PHP with HTML and js. Create a WHMCS page (take a look at Creating Pages article in documentation). Put your code in the PHP, pass variables to Smarty and do your styling stuff in the relative tpl file. To protect your work you simply have to encode your PHP with ionCube and make it accessible only to people with a valid license. 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.