Share » Forums » Setup & design » Notifications Digest email formatting

Notifications Digest email formatting

Notifications Digest email formatting

Thursday 05 March 2009 7:33:05 am - 2 replies

Author Message

Ritu Sharma

Thursday 05 March 2009 11:23:36 am

I was able to figure out a solution and adding it here if it can help somebody else.

Here is what I did:
1) Added the following to settings/siteaccess/eng/site.ini.append.php
[MailSettings]
ContentType=text/html

2) Added the following override to extension/ezwebin/design/ezwebin/override/templates/digest_element_plain.tpl

{*?template charset=utf-8?*}
{let content_object_version=fetch(notification,event_content,hash(event_id,$collection_item.event_id))}

{*display Title *}
<p> {$content_object_version.contentobject.name} <br>

{* display author *}
Added/ Update by: {$content_object_version.creator.name} <br>

{* display link*}

Location:
{let object_URL= concat("http://",ezini("SiteSettings","SiteURL"),"content/view/full/",$content_object_version.contentobject.main_node_id) |ezurl(no)}
<a href ={object_URL}>{object_URL}</a>
<br>
</p>
<br>

Jean-Yves Zinsou

Thursday 05 March 2009 11:50:00 am

Thanks,
that was a tricky one ...

Do Androids Dream of Electric Sheep?
I dream of eZpubliSheep....
------------------------------------------------------------------------
http://www.alma.fr

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu