eagleman Posted October 7, 2014 Share Posted October 7, 2014 Hello i need a smarty syntax to display the client's domain name please like <p><span>{$LANG.statsnumdomains} </span>: {$clientsstats.activedomain}</p> any advise Regards 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted October 7, 2014 Share Posted October 7, 2014 on which page? clientareahome.tpl ?? if you add {debug} to your template, you will get a popup window showing all the Smarty variables and arrays available for that page... if you can find it in the window, then you should be able to use it in the way you describe. though off the top of my head, I don't think a client's domain will be in there - what happens if a client has more than one domain, which one would you define as "active" ? 0 Quote Link to comment Share on other sites More sharing options...
eagleman Posted October 9, 2014 Author Share Posted October 9, 2014 Hello I appreciate your help i will just show numer of domains and linked it to clientarea.php?action=products Thank you 0 Quote Link to comment Share on other sites More sharing options...
Kian Posted October 9, 2014 Share Posted October 9, 2014 In these cases you simply have to {debug} Smarty template and look for variables. {$clientsstats.productsnumactivehosting} {$clientsstats.productsnumhosting} {$clientsstats.productsnumactivereseller} {$clientsstats.productsnumreseller} {$clientsstats.productsnumactiveservers} {$clientsstats.productsnumservers} {$clientsstats.productsnumactiveother} {$clientsstats.productsnumother} {$clientsstats.productsnumactive} {$clientsstats.productsnumtotal} {$clientsstats.numactivedomains} {$clientsstats.numdomains} There are also other stats but maybe you are just interested in the above ones. 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.