Removed
Mar 23, 2009, 4:01 AM
Veteran / Moderator (18436 posts)
Mar 23, 2009, 4:01 AM
Post #2 of 4
Views: 3903
Should work fine.
Try (in the extra headers for that email), adding:
..and then at the end of the template, add:
..and then make it so an email is sent (it'll be sent in HTML format, so you should see the output of GT::Template::dump fine)
Definatly no reason I can think of that it wouldn't exist (as its part of the link, not user)
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Try (in the extra headers for that email), adding:
Code:
Content-type: text/html..and then at the end of the template, add:
Code:
<%GT::Template::dump%>..and then make it so an email is sent (it'll be sent in HTML format, so you should see the output of GT::Template::dump fine)
Definatly no reason I can think of that it wouldn't exist (as its part of the link, not user)
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Mar 24, 2009, 12:22 AM
Veteran / Moderator (18436 posts)
Mar 24, 2009, 12:22 AM
Post #4 of 4
Views: 3861
Hi,
In FTP, goto /admin/template/luna/local, and find link_expired.eml.
Download it, and put the following code in it:
From: <%config.db_admin_email%>
Subject: Expiry Notification
Content-Type: text/html
Hello<%if Name%> <%Name%><%endif%>,
The following link<%if expiry_links.length != 1%>s<%endif%> <%if expiry_links.length != 1%>have<%else%>has<%endif%> expired:
<%loop expiry_links~%>
<%Title%>
Expiry Date: <%ExpiryDate%>
Renewal Payment: <%renewal_url%>
<%endloop%>
Please make a payment as soon as possible or contact us for more information.
Sincerely,
Links Manager
<%~--
File : link_expired.eml
Description : This is the e-mail a user receives when their link has
expired.
Tags : The Title, ID, and ExpiryDate of the links that have
expired are in the loop expired_links.
--%>
<%GT::Template::dump%>
Thats all I was saying =)
Oh, ahctually - looking at it, the reason its not letting you use Contact_Email, is cos that tag won't be available. Its looping through ALL the links a user has, that have expired - so the only place "Contact_Name" and "Contact_Email" will exist, are between:
<%Title%>
Expiry Date: <%ExpiryDate%>
Renewal Payment: <%renewal_url%>
<%endloop%>
Why exactly do you wanna use Contact_Email/Name?
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
In FTP, goto /admin/template/luna/local, and find link_expired.eml.
Download it, and put the following code in it:
Code:
To: <%if Name%>"<%Name%>" <<%Email%>><%else%><%Email%><%endif%> From: <%config.db_admin_email%>
Subject: Expiry Notification
Content-Type: text/html
Hello<%if Name%> <%Name%><%endif%>,
The following link<%if expiry_links.length != 1%>s<%endif%> <%if expiry_links.length != 1%>have<%else%>has<%endif%> expired:
<%loop expiry_links~%>
<%Title%>
Expiry Date: <%ExpiryDate%>
Renewal Payment: <%renewal_url%>
<%endloop%>
Please make a payment as soon as possible or contact us for more information.
Sincerely,
Links Manager
<%~--
File : link_expired.eml
Description : This is the e-mail a user receives when their link has
expired.
Tags : The Title, ID, and ExpiryDate of the links that have
expired are in the loop expired_links.
--%>
<%GT::Template::dump%>
Thats all I was saying =)
Oh, ahctually - looking at it, the reason its not letting you use Contact_Email, is cos that tag won't be available. Its looping through ALL the links a user has, that have expired - so the only place "Contact_Name" and "Contact_Email" will exist, are between:
Code:
<%loop expiry_links~%> <%Title%>
Expiry Date: <%ExpiryDate%>
Renewal Payment: <%renewal_url%>
<%endloop%>
Why exactly do you wanna use Contact_Email/Name?
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!