Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

DISABLE NEWSLATTER?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-28-2004, 02:13 PM
 
cen cen is offline
 

Member
  
Join Date: Dec 2003
Location: los angeles
Posts: 19
 

Default 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?
Reply With Quote
  #2  
Old 01-28-2004, 02:18 PM
  lyncca's Avatar 
lyncca lyncca is offline
 

X-Adept
  
Join Date: Nov 2003
Location: Fort Worth, Texas
Posts: 455
 

Default

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
Reply With Quote
  #3  
Old 01-28-2004, 09:10 PM
  leon's Avatar 
leon leon is offline
 

X-Wizard
  
Join Date: Mar 2003
Location: Costa Rica
Posts: 1,213
 

Default

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.
__________________
It doesn\'t matter what is done... it is how it is done.
=============================
XCart Version: 3.5.3 -> Dmcigars.com
XCart Version: 4.1.3....
Reply With Quote
  #4  
Old 01-29-2004, 06:42 AM
  lyncca's Avatar 
lyncca lyncca is offline
 

X-Adept
  
Join Date: Nov 2003
Location: Fort Worth, Texas
Posts: 455
 

Default

Ahh, I didn't do the second one. I suppose I should
Reply With Quote
  #5  
Old 01-29-2004, 09:13 AM
 
cen cen is offline
 

Member
  
Join Date: Dec 2003
Location: los angeles
Posts: 19
 

Default thanks

thanks for the help, i tryied lyncca and it worked, thanks.
Reply With Quote
  #6  
Old 01-29-2004, 03:55 PM
  leon's Avatar 
leon leon is offline
 

X-Wizard
  
Join Date: Mar 2003
Location: Costa Rica
Posts: 1,213
 

Default

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.
__________________
It doesn\'t matter what is done... it is how it is done.
=============================
XCart Version: 3.5.3 -> Dmcigars.com
XCart Version: 4.1.3....
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 08:47 AM.

   

 
X-Cart forums © 2001-2020