Sorry, I'm still new to editing X-cart. Hopefully this will be an easy one. I just want to get the email address of the logged on user so I can build an html link.
I'm editing the new archive template
/common_files/modules/News_Management/customer/news_archive.tpl
Here is the code I've written for test purposes.
Code:
{capture name=unsubdialog}
<table cellspacing="1" class="data-table">
<tr>
<td><a href="https://store.sweet-sugar-gliders.com/mail/unsubscribe.php?email={$email}">Click here to unsubscribe</a></td>
</tr>
<tr>
<td>{$lng.eml_unsubscribe_information}
{$http_location}/mail/unsubscribe.php?email={$email}</td>
<tr>
</table>
{/capture}
{include file="customer/dialog.tpl" title="Unsubscribe" content=$smarty.capture.unsubdialog}
What do I put in place of {$email} so it will return the e-mail address?
Arren
X-Cart Pro v 4.5.4