Balcones Posted June 4, 2013 Share Posted June 4, 2013 I am trying to place some PHP code in the Knowledgebase and wasn't allowed to. I try to enter the code and it automagically comments it out like: <!--?php my code ?--> Is there a way to override whatever WHMCS is doing? 0 Quote Link to comment Share on other sites More sharing options...
Balcones Posted June 5, 2013 Author Share Posted June 5, 2013 Have anyone ever tried to enter some PHP code in a KB article and was successful? 0 Quote Link to comment Share on other sites More sharing options...
DavidBee Posted June 5, 2013 Share Posted June 5, 2013 Hey, Check this out: http://www.smarty.net/docsv2/en/language.function.php.tpl 0 Quote Link to comment Share on other sites More sharing options...
Balcones Posted June 5, 2013 Author Share Posted June 5, 2013 I tried it and it ain't work on KB articles. 0 Quote Link to comment Share on other sites More sharing options...
DavidBee Posted June 5, 2013 Share Posted June 5, 2013 I found an old thread that might help you out: http://forum.whmcs.com/showthread.php?55782-How-do-I-display-PHP-code-in-a-KB-article 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.