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

News list Subscribe function

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-05-2007, 09:47 AM
 
sparker2 sparker2 is offline
 

eXpert
  
Join Date: Feb 2007
Posts: 290
 

Default News list Subscribe function

It there a way remove the Subscribe function in the News list menu. I just want to display my news to everyone that visits my site. I have a separate mailing list that I use to send my customers news and updates. I think this news menu will be great to just display daily news. Thanks in advance for your help.
__________________
Shareen
sparker2@cox.net
http://www.stitches4u.com
X-Cart Version 4.5.0 with Smart Template vs 4.4.x
Reply With Quote
  #2  
Old 03-05-2007, 10:08 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: News list Subscribe function

edit news.tpl and comment out this bit:

<form action="news.php" name="subscribeform" method="post">
<input type="hidden" name="subscribe_lng" value="{$store_language}" />

<table>
<tr>
<td>
{$lng.lbl_your_email}
<br />
<input type="text" name="newsemail" size="16" />
<br />
{include file="buttons/subscribe_menu.tpl"}
</td>
</tr>
</table>
</form>
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 03-05-2007, 10:32 AM
 
sparker2 sparker2 is offline
 

eXpert
  
Join Date: Feb 2007
Posts: 290
 

Default Re: News list Subscribe function

where can I go to learn how to comment out something. I have no idea what this means. Thanks for your help. You guys are great.
__________________
Shareen
sparker2@cox.net
http://www.stitches4u.com
X-Cart Version 4.5.0 with Smart Template vs 4.4.x
Reply With Quote
  #4  
Old 03-05-2007, 10:33 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: News list Subscribe function

Good thread on template editing here:

http://forum.x-cart.com/showthread.php?t=21529
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 03-05-2007, 11:28 AM
 
sparker2 sparker2 is offline
 

eXpert
  
Join Date: Feb 2007
Posts: 290
 

Default Re: News list Subscribe function

This is not working. the Subscribe function is still showing up. I guess i do not understand how to use the {* commented out code *}
__________________
Shareen
sparker2@cox.net
http://www.stitches4u.com
X-Cart Version 4.5.0 with Smart Template vs 4.4.x
Reply With Quote
  #6  
Old 03-05-2007, 11:31 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: News list Subscribe function

In news.tpl, replace this:

<form action="news.php" name="subscribeform" method="post">
<input type="hidden" name="subscribe_lng" value="{$store_language}" />

<table>
<tr>
<td>
{$lng.lbl_your_email}
<br />
<input type="text" name="newsemail" size="16" />
<br />
{include file="buttons/subscribe_menu.tpl"}
</td>
</tr>
</table>
</form>

with this:

{*
<form action="news.php" name="subscribeform" method="post">
<input type="hidden" name="subscribe_lng" value="{$store_language}" />

<table>
<tr>
<td>
{$lng.lbl_your_email}
<br />
<input type="text" name="newsemail" size="16" />
<br />
{include file="buttons/subscribe_menu.tpl"}
</td>
</tr>
</table>
</form>
*}

You may need to refresh your browser a few times and/or clear your template cache.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #7  
Old 03-05-2007, 11:33 AM
 
sparker2 sparker2 is offline
 

eXpert
  
Join Date: Feb 2007
Posts: 290
 

Default Re: News list Subscribe function

I forgot to tell you that I changed servers once again but now to EWD and I am happy. They are great for xcart. This change has made my life so much better. I tried many host too and so far in my book they are the best when it comes to service and support. They had my cart up and running in no time at all. Thanks for all the help.
__________________
Shareen
sparker2@cox.net
http://www.stitches4u.com
X-Cart Version 4.5.0 with Smart Template vs 4.4.x
Reply With Quote
  #8  
Old 03-05-2007, 11:36 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: News list Subscribe function

Good to hear! I knew Emerson would set you straight.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #9  
Old 03-05-2007, 11:49 AM
 
sparker2 sparker2 is offline
 

eXpert
  
Join Date: Feb 2007
Posts: 290
 

Default Re: News list Subscribe function

Thank you, that worked this time. Thank you. Hey is is possible to disable the shipping and create my own flat rate options that the customer can choose. I do not like the shipping part of the cart. Most of my products are egoods but i do provide a service too. I do not know how to setup the services. I do not want them listed in the categories.
__________________
Shareen
sparker2@cox.net
http://www.stitches4u.com
X-Cart Version 4.5.0 with Smart Template vs 4.4.x
Reply With Quote
  #10  
Old 03-05-2007, 11:50 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: News list Subscribe function

Yes, you can set up user-defined shipping methods and assign rates based on order total, weight, etc. Manual covers user-defined shipping pretty well actually.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
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 03:46 PM.

   

 
X-Cart forums © 2001-2020