Jump to content

display client's NDD


eagleman

Recommended Posts

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" ?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated