rayb Posted January 25, 2016 Share Posted January 25, 2016 I've been playing around with the template e-mails and I've ran into some difficulties in showing staff names. For example I want to show in the subject line that "staff member bob replied to your support ticket." Is there a way I can do this using the smarty codes. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted January 26, 2016 Share Posted January 26, 2016 if the mergefield is available to that template, then you can add it to the subject; if it isn't available, then you'd need to use an action hook to query the database, get the value and pass it to the template. http://docs.whmcs.com/Hooks:EmailPreSend http://docs.whmcs.com/Hooks:EmailTplMergeFields 0 Quote Link to comment Share on other sites More sharing options...
rayb Posted January 26, 2016 Author Share Posted January 26, 2016 Wow....... was totally not wanting to do that but it would seem that might be the final answer. Oh dear... Thanks. 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.