In previous versions of Confluence (pre 4.x) when watching a page with mail notification you would get the page content included in the mail.
Not anymore I m sad to say. The documentation, to my knowledge, does not mention this and I rasied an issue with Confluence Support regarding this (CSP-98280).
Has anybody seen this change in behaviour and/or does anybody have a solution to be able to have the old behaviour back?
Regards Lars
For the original fucntionality, the following request was brought up with development and subsequently denied.
Bring back option to show full context in notification emails
However, there is a work around where we can alter the veloccity template to bring the fucntionality back to a certain extent. If we expand the <conlfuence install direcotry>/confluence/WEB-INF/lib/confluence-X.X.X.jar file we can then edit the templates/email/html/page-edited-notification.vm file so that the default watch functionality includes the entire page. To do so, change the showdiffs block from this...(may change depending on version)
#if ($showDiffs) <div class="email-diff"> #if ($diffHtml) #parse ("/template/includes/page-diffs.vm") #else <p class="aui-message error"> $i18n.getText('diff.pages.error.diffing') </p> #end </div> #end
To this ...
#if ($showDiffs) <div class="email-diff"> #if ($diffHtml) #parse ("/template/includes/page-diffs.vm") #else <p class="aui-message error"> $i18n.getText('diff.pages.error.diffing') </p> #end </div> #else <div class="email-page"> $viewRenderer.render($content.bodyAsString, $conversionContext) </div> #end
This is of course a customization and would need to be updated when Confluence is upgraded. Once the change is mad, re-make the jar with the altered velocity file and restart Confluence to see the affects. I hope this helps provide a viable option for you.
Cheers,
Andrew Campbell
Hi Lars,
Newer versions of Confluence should still contain a partial inclusion of the relevant page content in the notification mail. Are you seeing any page content in the mail at all?
If the page is particularly long, the email may prevent the full content of the page from displaying, but you should still see a snippet of the content.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unfortunately I don t get any content att all except when I request changes in which case I get the actual comparison output.
The only thing I get is a set of links that can take me e.g. to the actual page. This however is not "good enough" since I have to be logged on to our network to get at the server which I am not if I recieve the mail e.g. on a smart phone.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.