Forum Discussion

tkearsley's avatar
10 years ago

Customize notification for a single thread

Hello,

 

Is it possible to customize an outgoing email notification for a single thread? I would like to format the text and include some graphics. Is this possible?

 

Thanks,

Thomas

  • OlivierS's avatar
    OlivierS
    Lithium Alumni (Retired)

    tkearsley 

     

    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!

    • tkearsley's avatar
      tkearsley
      Maven
      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.
      • tkearsley's avatar
        tkearsley
        Maven

        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

        Screen Shot 2014-11-11 at 12.22.20 PM.png

         

        Email Notification

         

        Screen Shot 2014-11-11 at 12.22.29 PM.png

         

        Thomas