The Expert Hosts Posted July 29, 2016 Share Posted July 29, 2016 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 0 Quote Link to comment Share on other sites More sharing options...
twhiting9275 Posted July 29, 2016 Share Posted July 29, 2016 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. 0 Quote Link to comment Share on other sites More sharing options...
The Expert Hosts Posted July 29, 2016 Author Share Posted July 29, 2016 All the variables on that statement have been pulled from Client Area {debug} 0 Quote Link to comment Share on other sites More sharing options...
twhiting9275 Posted July 29, 2016 Share Posted July 29, 2016 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 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.