Forums / Setup & design / Customize notification emails

Customize notification emails

Author Message

Benjamin Lemoine

Friday 19 January 2007 2:33:44 am

Hi all,

I'm trying the eZ approval system wich works well.

But the problem is that I don't find how can I change the content of my notification emails.
The emails sent are : This email is to inform you that... needs your attention on ez.no
And the links are about ez.no (http://ez.no/notification/settings)

What file I have to modify ? Thanx

Regards

Betsy Gamrat

Saturday 20 January 2007 6:35:15 pm

Benjamin,

One technique I use is to use <b>grep</b>.

Change into the design directory and search for a unique string with these two commands.

cd /home/domain/www/ez/design
grep -r attention *

It should yield a list of the files, with the lines that have the word in them.

Then go into the admin console to create an override template for the file. That will ensure eZ correctly configures the overrides and places the file in the right place.

Good luck.

kracker (the)

Sunday 21 January 2007 3:44:26 am

Another hint,

# find design/ -name *notification*
design/base/templates/notification
design/standard/images/toolbar/notification.png
design/standard/images/toolbar/notification_line.png
design/standard/templates/toolbar/line/notification.tpl
design/standard/templates/toolbar/full/notification.tpl
design/standard/templates/notification
design/standard/templates/content/copy_subtree_notification.tpl
design/admin/templates/notification

<i>//kracker

dj jazzy jeff - When To Stand Up (featuring Eminem)</i>

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

Nicolas Lescure

Sunday 21 January 2007 3:24:34 pm

Set the debbuger on, with template debbuging and send our mail. You should see in the mail which template is used.