Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Customized email template of confluence not reflecting

Karunesh Sarad March 29, 2017

I have customized the confluence email templates  to remove the content part in an email notification on edit. However, the SOY template changes are not reflecting in the notifications. Am i missing anythin? I followed all the steps & deployed the JAR as mentioned in the how to article.

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Stephen Gramm March 29, 2017

I may be able to help with this.  The template to modify is here:  templates/notification/page-edited-2.0.0.soy

Here is an example for your review that should work for you . . .

/**
 *  In this example you are commenting out this code to only return the string for the $pageTitle variable.  Nothing else would change unless you want to change other types of notifications
 *        {param contentArea: $comment ? [$comment, ['class' : 'padding-top border-top', 'content' : $pageTitle], $contentExcerpt, ['class' : 'action-padding', 'content' : $pageActions]] : [$pageTitle, $contentExcerpt, ['class' : 'action-padding', 'content' : $pageActions]]/}
 */
        {param contentArea: [$pageTitle] /}

 

I am assuming you will follow the steps to update the jar file (confluence-email-notifications-plugin-x.x.x.jar), clear the plugin cache and bundled plugin cache before restarting the application.

 

warning  I hope this helps you.

 

 

 

0 votes
Panos
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 29, 2017

Point to the "howto" you followed and did you check for error logs in the log files?

TAGS
AUG Leaders

Atlassian Community Events