kburns12 Posted January 28, 2008 Share Posted January 28, 2008 I am trying to integrate my announcements page in my header.tpl But I when I place the PHP code in the file it does not display any information. The area where it should be is blank. I have placed this file : http://support.whmcs.com/knowledgebase.php?action=displayarticle&catid=7&id=18 in my header and I have changed the location of the includes. There must be something I am missing but after reading many post in the forum I still have not been able to get it fixed. Thanks, kburns12 0 Quote Link to comment Share on other sites More sharing options...
Jordan Posted January 28, 2008 Share Posted January 28, 2008 That code is for use OUTSIDE of your WHMCS installation. But if you want to use it within your site, any PHP needs to be altered as such: {php}{/php} 0 Quote Link to comment Share on other sites More sharing options...
kburns12 Posted January 28, 2008 Author Share Posted January 28, 2008 Thank you for your help. I knew I was missing something. kburns12 0 Quote Link to comment Share on other sites More sharing options...
BionHostStan Posted January 28, 2008 Share Posted January 28, 2008 would be nice to have that in a seperate php and just include that new php file.. make things simple 0 Quote Link to comment Share on other sites More sharing options...
Troy Posted January 29, 2008 Share Posted January 29, 2008 You should be able to do that. Just put the include file in the root of your WHMCS, and then do this in your template: {include_php file="file.php"} (Where file.php is the name of your include file.) 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.