email templates

LesleyHayes
LesleyHayes's picture

Joined: 2007-03-27
Posts: 21
Posted: Thu, 2013-02-07 14:24

Where do I go to find the email templates - specifically the Item Added notification message.
Thanks in advance


Gallery URL = http://gallery.barlowtyrie.co.uk/main.php
Gallery version = 2.3.2 core 1.3.0.2
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 4.3.10-2 cgi-fcgi
Webserver = Apache/2.0.51 (Debian GNU/Linux) PHP/4.3.10-2 mod_ssl/2.0.51 OpenSSL/0.9.7e
Database = mysqlt 4.0.24_Debian-10sarge3-log, lock.system=flock
Toolkits = Exif, Gd, SquareThumb
Acceleration = none, none
Operating system = Linux chimp.keme.net 2.4.27-3-386 #1 Wed Dec 6 00:38:33 UTC 2006 i686
Default theme = matrix
gettext = enabled
Locale = en_GB
Browser = Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.52 Safari/537.17

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Thu, 2013-02-07 14:39

that would likely be in the notifications module's templates

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
LesleyHayes
LesleyHayes's picture

Joined: 2007-03-27
Posts: 21
Posted: Thu, 2013-02-07 17:22

I looked in there and yes there is a template with a bit about unsubscribe but not the body of the email. I searched all the other files in the notification directory to find body is created in a class record (list ($ret, $body) = $notification->getNotificationMessage();) am I supposed to digging in places like that?

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Thu, 2013-02-07 17:47

I've never used the notification module, but looking through it seems gallery2/modules/notification/classes/GalleryCoreEventNotifications.class

Each sub-class has its own function getNotificationMessage based on the event. The text to be translated(if a translation exists) is found there.

-s
________________________________
All New jQuery Minislideshow for G2/G3