mdk_999 Posted August 10, 2007 Share Posted August 10, 2007 Is it possible to get a copy of the index.php which loads a template called "support.tpl"? 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted August 10, 2007 WHMCS CEO Share Posted August 10, 2007 No, and what would be the point of that anyway? 0 Quote Link to comment Share on other sites More sharing options...
mdk_999 Posted August 12, 2007 Author Share Posted August 12, 2007 I was looking for a way to put dynamic content on the home page ie. the latest announcements, etc. being that the index.php was encrypted I wanted to change index.php to say support.php and create my own index.php but the catch is that it still loads homepage.tpl if it loaded another tpl then I could keep it as is and have my custom index page. 0 Quote Link to comment Share on other sites More sharing options...
MACscr Posted August 12, 2007 Share Posted August 12, 2007 thats easy, just replace the index.php with your own index.php and then rename the original index.php to support.php. It will work fine. Just make sure you follow the directions in the WHMCS kb for adding your own custom pages. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted August 12, 2007 WHMCS CEO Share Posted August 12, 2007 And you can of course include php code directly inside the template file for the homepage in between {php} and {/php} tags. Matt 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.