Quote:
Originally Posted by Yurij
Automatic addition to a newslist all new customer (hide the check box on signup).
Replace your "skin1/modules/News_Management/register_newslists.tpl" with this code:
PHP Code:
{if $login ne ""} {if $active_modules.News_Management and $newslists} {if $hide_header eq ""} <tr> <td height="20" colspan="3"><b>{$lng.lbl_newsletter}</b><hr size="1" noshade="noshade" /></td> </tr> {/if}
<tr> <td colspan="3">{$lng.lbl_newsletter_signup_text}</td> </tr>
<tr> <td colspan="2"> </td> <td> <table border="0">
{section name=idx loop=$newslists} {assign var="listid" value=$newslists[idx].listid} <tr> <td><input type="checkbox" name="subscription[{$listid}]" {if $subscription[$listid] ne ""}checked="checked"{/if} /></td> <td>{$newslists[idx].name}</td> </tr> <tr> <td> </td> <td><i>{$newslists[idx].descr}</i></td> </tr> {/section}
</table> </td> </tr>
{/if}
{else} <tr> <td colspan="3"> <div style="display:none;"> {section name=idx loop=$newslists} {assign var="listid" value=$newslists[idx].listid} <input type="checkbox" name="subscription[{$listid}]" checked="checked" /> {/section} </div> </td> </tr> {/if}
|
Thanks for your codes. Now I have a third party newsletter application named phplist in my same domain now can I able to enter the user email id from x-cart to phplist's email list automatically?
If possible how?
Thanks to all