Jump to content

WHMCS Variables


Recommended Posts

I am stuck on how to use WHMCS variables.

 

This is what I have and it isn't working:

<p><strong>Ticket Name:</strong> {$subject}</p>

<p><strong>Ticket ID:</strong> {$tid}</p>

<p><strong>Ticket Dept:</strong> {$department}</p>

<p><strong>Last updated:</strong> {$descreplies}</p>

 

Thank you in advance,

Aaron

The Expert Hosts

aaron@theexperthosts.com

Link to comment
Share on other sites

Can you , maybe, be a bit more descriptive? Need more info in order to process what you're trying to do and get you the correct information.

Just as a general rule, I'd say start by looking at the Template Syntax documentation.

Add

{debug}

to the top of the template page, make sure that the variable you're trying to pull out is actually there

 

the template syntax page (linked above) shows you the methods to adding variables if they don't exist as well, to both client and admin pages.

Link to comment
Share on other sites

If you're using them in the exact same template, then they will work.

If you're trying to use them in another template file, probably not

 

Clear your site cache, both WHMCS and browser

Make sure the template you made the changes to,is the one you're trying to load (i.e.: five,six,etc)

Look through the system activity logs for issues

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