eCard Module: Editing Email Template

Freelancealot

Joined: 2009-08-18
Posts: 36
Posted: Fri, 2009-08-28 00:58

Hi,

I'm trying to make the eCard Module HTML email template look a bit smarter than it currently does. Does anyone know how to get the the image title to appear in the ecard? For example, to get footer text it's %footer%.

Cheers,

Tracy


Gallery version = 2.3 core 1.3.0
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 5.2.6 cgi
Webserver = Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.8h mod_bwlimited/1.4
Database = mysqlt 5.0.51a
Operating system = FreeBSD
Default theme = Carbon
Browser = Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_6; en-us) AppleWebKit/525.27.1 (KHTML, like Gecko) Version/3.2.1 Safari/525.27.1

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22888
Posted: Fri, 2009-08-28 04:53

You should be able to edit SendEcard.inc to include the new variable and use it in the template.

	$SendEcard = array();
	$SendEcard['itemId'] = $item->getId();

is how the itemId is generated.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team