Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > Messageboard notification Email Added by missing View modes: 
User avatar
Member
Member
Rene 7 - 4/12/2012 6:55:39 PM
   
Messageboard notification Email Added by missing
Dear Kentico,
we are using the web part "Message board". The notification email gets sent OK, but the "Added By" field is empty. To know who is adding the comment ("Name" field in the form) is quite important to the owner of the page.
Where can this be adjusted?

The Email:

Board: Board title

Added by:
Date and time: 12/04/2012 9:21:49 PM
Text: Text

Cheers!

User avatar
Kentico Developer
Kentico Developer
kentico_ivanat - 4/16/2012 6:24:00 AM
   
RE:Messageboard notification Email Added by missing
Hi,

have you applied any hotfix in your 6.0 installation?

Could you please check e-mail template in the Site Manager - Administration - E-mail templates - Boards - Notification to board moderators if the body of template contains following code?

<html>
<head>
<style>
body, td
{
font-size: 12px;
font-family: Arial;
}
</style>
</head>
<body>
<p>
New message was added and now is waiting for your approval:
</p>
<table>
<tr valign="top">
<td>
<strong>Board: </strong>
</td>
<td>
<a href="{%DocumentLink%}">{%Board.BoardDisplayName%}
</td>
</tr>
</table>
</body>
</html>


In my environment was e-mail sent with all information, tested with hotfix 25.

Best regards,
Ivana Tomanickova

User avatar
Member
Member
Rene 7 - 5/29/2012 8:45:37 PM
   
RE:Messageboard notification Email Added by missing
Dear Ivana,
upon request I tried to add two more fields in the notification email, but it does not seem to work. I think mainly because I am guessing what the variable names coule be, namely {%Message.MessageURL#%} and {%Message.MessageEmail#%}

The code in the moment is:

<html>
<head>
<style>
body, td
{
font-size: 12px;
font-family: Arial;
}
</style>
</head>
<body>
<p>
New message was added and now is waiting for your approval:
</p>
<table>
<tr valign="top">
<td>
<strong>Board: </strong>
</td>
<td>
<a href="{%DocumentLink%}">{%Board.BoardDisplayName#%} at {%DocumentLink%}</a>
</td>
</tr>
<tr valign="top">
<td>
<strong>Added by: </strong>
</td>
<td>
{%TrimSitePrefix(Message.MessageUserName)#%}
</td>
</tr>
<tr valign="top">
<td>
<strong>URL:</strong>
</td>
<td>
{%Message.MessageURL#%}
</td>
</tr>
<tr valign="top">
<td>
<strong>Email:</strong>
</td>
<td>
{%Message.MessageEmail#%}
</td>
</tr>
<tr valign="top">
<td>
<strong>Date and time: </strong>
</td>
<td>
{%Message.MessageInserted#%}
</td>
</tr>
<tr valign="top">
<td>
<strong>Text: </strong>
</td>
<td>
{%Message.MessageText#%}
</td>
</tr>
</table>
</body>
</html>

User avatar
Kentico Developer
Kentico Developer
kentico_ivanat - 5/31/2012 8:58:50 AM
   
RE:Messageboard notification Email Added by missing
Hi,

and have you applied the latest hotfix or it is a default Kentico installation?

For example following bug was fixed in the hotfix 18:
Notifications - Macros weren't resolved correctly in notification templates.

Thank you for clarification.

Best regards,
Ivana Tomanickova