evanshi21 Posted February 9, 2014 Share Posted February 9, 2014 hello i have installed my whmcs in 1 subfolder http://www.domain.com/members i was looking to implement and welcome message for logged users in my frontpage html template and i found the answer using the forum on this post i follow instructions and the code works well on my frontpage website. When user are not registered appear Access menu and when is registered appears "welcome username" The issue is when trying to insert loginfile.php into header.tpl , the code is not recognized. i already try to use these codes {php} include ('members/loginfile.php'); {/php} {php} include ('loginfile.php'); {/php} Any suggestion? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted February 9, 2014 Share Posted February 9, 2014 if this code is to go into a smarty template, e.g header.tpl, you could possibly use smarty include_php tag... http://www.smarty.net/docs/en/language.function.include.php.tpl 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.