I'm wanting to display some custom variables in the email template set. Most likely the New Activity Alert and maybe one others.
See image attached. I have already created the variable and it is working fine on the template side.
Custom Variable in New Activity Alert..
name of the variable?
Is it in the Ticket Details built in form?
Yes, I created it in the Ticket details section. And the variable name I changed the variable to seorder
How would I display that where I need to use it?
You put the variable into the template.
%{ticket.seorder}
If you are interested in more information then that this might help:
https://tmib.net/osticket-1-9-x-email-template-variables/
Yes, it's dated and for an old version but the basics still apply. Scroll down to "Custom variables" about 80% of the way down the article.
- Edited
In the built-in-forms, would it matter if I put/created that variable in the task details or the ticket details? Cause the variable I created was under the ticket details section. And trying to use it in the tasks section/email.
Still not working.
Tasks aren't tickets. They are separate and do not have to be tied to a ticket. So I wouldn't think that a task has access to a tickets variables.
You would add it to the Task Details form.
And I think that it then would be '%{task.seorder}'
note: I do not use tasks and have never tried to do a custom variable in a task template before... but that's the my understanding of how it works.