I am trying to understand how Dolphin's email template keys work and how to add a new key. Any help on this is greatly appreciated as always.
-GG
I am trying to understand how Dolphin's email template keys work and how to add a new key. Any help on this is greatly appreciated as always. -GG Geeks, making the world a better place |
inc/classes/BxDolEmailTemplates.php https://www.deanbassett.com |
Thanks, I really appreciate this. Geeks, making the world a better place |
You need to make sure that before the array is loaded you need to set the content of $sTokenContent to the content you need. So just after this. I placed $sTokenContent = "Token Content" to test and it never replaced it no matter what I did. It is now after 2 am so I am going to bed; will look at this more tomorrow. Thanks for your help. Geeks, making the world a better place |
I am not sure what is happening. The email is sent out using php sendmail() so I may just try hacking the body part of sendmail(); $aTemplate['Body'], and see if I can get the token included. I wanted to do this the correct way. Geeks, making the world a better place |
What was happening is that I was working too late at night and very tired. This works as outlined for anyone that wishes to add custom keys to the email templates. Geeks, making the world a better place |
This is an awesome thread.... I plan on making some modifications... :) Thanks! Peer Peer L. Plaut Executive Director, Single Booklovers Connecting Bookworms Since 1970 |