X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   DISABLE NEWSLATTER? (https://forum.x-cart.com/showthread.php?t=6252)

cen 01-28-2004 02:13 PM

DISABLE NEWSLATTER?
 
really simple question, how do i disable "newsletter" i dont plan to have a news letter, how do i take this out from custmers eyes/ usage?

lyncca 01-28-2004 02:18 PM

Under customer/home.tpl you can go through the code and delete the code towards the end that has the include for the newsletter or you can put {* before it and *} after it to comment it out.

I *think* thats the correct way. I am still learning too, but thought I would at least try to give a hand -- there are other real "pros" around here, but they shouldn't have to answer everything ;)

leon 01-28-2004 09:10 PM

There are two parts where you would want to take this:

1. /skin1/customer/home.tpl
Where it says:
Code:

{ include file="news.tpl" }

2. /skin1/customer/main/register.tpl
Where it says:
Code:

<tr valign=middle>
<td height=20 colspan=3>{$lng.lbl_newsletter}<hr size=1 noshade></td>
</tr>

<tr valign=middle>
<td></td>
<td></td>
<td>
<input type=checkbox name=newsletter {if $userinfo.newsletter eq "Y"}checked{/if}>
{$lng.txt_newsletter_msg}
</td>
</tr>


But as lyncca mentions, it is better to comment them out, in case you decide to use them in the future. :wink:

lyncca 01-29-2004 06:42 AM

Ahh, I didn't do the second one. I suppose I should ;)

cen 01-29-2004 09:13 AM

thanks
 
thanks for the help, i tryied lyncca and it worked, thanks.

leon 01-29-2004 03:55 PM

What lyncca mentions is correct, although the second point Im giving you is to take out the option when a member is registering (the option to sign up for news) since it would not make since if you dont want to take care of newsletters in the first place.


All times are GMT -8. The time now is 07:53 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.