Add all comments to .tpl email

Dan B March 3, 2015

How would I use the getAllCommentIds(key) in with email templates?

Using jjupin and the send html email in on one of the transitions, we would like to add all comments and authors of the comments to the email. 

2 answers

0 votes
eric anier
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 5, 2015

Hi Dan,

I think you could do this.

From the sil that calls the sendHtmlEmail you could populate a variable (vAllComm) with the value of getAllCommentIds(key).

You could then use the value of vAllComm by calling it as $vAllComm$ inside the template itself.

 

Regards,

 

 

0 votes
Silviu Burcea
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 5, 2015

Hi Dan,

 

This is not currently possible, but we will re-think the injection of SIL code inside the templates. I have added an internal ticket to our backlog, but we don't have a release date yet as there are a couple of things that cannot be delayed.

 

Regards,

Silviu

Suggest an answer

Log in or Sign up to answer