Forum Discussion
6 Replies
- OlivierS11 years agoLithium Alumni (Retired)
hi Thomas,
I've never tried it. but if I had to, I would start with this article.
It looks like Lithium is using the Velocity Template Language which allows conditions (if).
And you have thread properties that would certainly help: thread.topicMessage.subject and thread.webUi.url
Now, if you want to add image, please remember they will only display in the email if you have a full path to the image specified (and available to everyone)
Good luck!
- Hi Olivier,
Thanks for the info. I think this will be too much work, as the email content will change weekly. Marketing wants me to make the notifications look professional & polished, and have their spiffy graphics header and footer included in the email. Hi Olivier,
I tried just adding graphics as you instructed (full URL of image), but it seems that Lithium does not allow for the image to be included with the notification email.
Original Post
Email Notification
Thomas
- OlivierS11 years agoLithium Alumni (Retired)
Maybe I've misunderstood ...
Do you want an email template that contains images (always the same), or do you want to pull the images from a post into your email notification?
Hi Olivier,
I wish to pull images from the forum post.
Thanks,
Thomas
- OlivierS11 years agoLithium Alumni (Retired)
I've received notification with images in ... so I assume that's possible to do it.
My guess is that the notification template pulls the entire message. Have a look at the context object and try to add anything that could pull the message content. And give it a go on stage!
Related Content
- 11 years ago
- 6 months ago