bhavicp Posted April 13, 2009 Share Posted April 13, 2009 I have made a custom page in WHMCS's client area. But i'm not sure how to pull clients data, i've read over http://wiki.whmcs.com/API:Get_Clients_Data_by_ID serveral times but i don't get it. I've got the page working fine. I just need to put code into the tpl file but i don't get exactly what it does. I want to be able to pull basic client data, such as product.domain, reccuring date etc. But i got really confused with smarty tags and such. Any help (like a small example for the .tpl file) would be much appreciated! Bhavic 0 Quote Link to comment Share on other sites More sharing options...
bhavicp Posted April 14, 2009 Author Share Posted April 14, 2009 I've managed to figure out that i can use stuff like {$companyname} but can't use {domain}. What would i have to do exactly to use like {domain} for a specific product (Client would only have 1 product anyway) 0 Quote Link to comment Share on other sites More sharing options...
bhavicp Posted April 14, 2009 Author Share Posted April 14, 2009 ok i now know you have to assign the $smartyvalues, Do i have to get the details directly from the mysql database or is there a easier way? 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.