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)
-   -   I can't find where to turn off Newsletter Signup? (https://forum.x-cart.com/showthread.php?t=4346)

AtomicFuze 09-13-2003 09:22 PM

I can't find where to turn off Newsletter Signup?
 
I can't find where to turn off Newsletter Signup?

I know the setting is got to be somewhere. I looked in the manual and searched all forums but no luck.

Can someone put me out of my misery?

thanks, Brian Kilpatrick

ATKOgirl 09-13-2003 10:31 PM

Hi,

You could just remove it from the templates. I don't think an option to turn it off exists, but I could be wrong.

ATKOgirl

AtomicFuze 09-14-2003 07:19 PM

ATKOgirl you have answered 2 of my posts today, thankyou!
 
ATKOgirl you have answered 2 of my posts today, thankyou!

Must be that East Coast nice people thing.

I'm in Los Angeles CA now but I'm from Milford CT.

Thanks again

ATKOgirl 09-14-2003 10:51 PM

AtomicFuze,

Thanks so much for the compliment! I'm CT born and bred, so it's always nice to hear from other CT'ers around the country.

:wink:

ATKOgirl

BTW: My favorite non-clothing store is the Christmas Tree store in Orange, CT on the Milford line. I don't know the last time you were in Milford, but the Post Road has really turned into Retail Central with tons of huge stores!

kangus 10-13-2003 03:46 PM

Show News MOD
 
modify /skin1/customer/home.tpl
Add the if statement:

{if $conf.news_show}
{ include file="news.tpl" }
{/if}

INSERT INTO xcart_config VALUES ('news_show', 'Show News', 'N', 'Modules', 11, 'checkbox');

Now you can turn the news on/off from the General/Modules screen.

oziris 12-07-2003 09:35 AM

does this have to be executed on SQL database?

INSERT INTO xcart_config VALUES ('news_show', 'Show News', 'N', 'Modules', 11, 'checkbox');

Predrag

shan 12-07-2003 12:04 PM

Quote:

Originally Posted by oziris
does this have to be executed on SQL database?

INSERT INTO xcart_config VALUES ('news_show', 'Show News', 'N', 'Modules', 11, 'checkbox');

Predrag


yes

oziris 12-07-2003 01:55 PM

ok, got the database part but where do I insert the if statement code? Here is my home.tpl:
Code:

{* $Id: home.tpl,v 1.7 2003/04/11 05:05:27 svowl Exp $ *}
{ config_load file="$skin_config" }
<html>
<head>
<title>Welcome to Ely Mall.
{if $main eq "catalog"}
 - Home
{elseif $main eq "help"}
 - Help section
{elseif $main eq "cart"}
 - Your Shopping Cart
{elseif $main eq "checkout"}
 - Checkout
{elseif $main eq "order_message"}
 - Thank you for your order
{/if}
</title>
{ include file="meta.tpl" }
<link rel="stylesheet" href="{$SkinDir}/{#CSSFile#}">
</head>
<body LEFTMARGIN=0 TOPMARGIN=0 RIGHTMARGIN=0 BOTTOMMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>
{ include file="rectangle_top.tpl" }
{ include file="head.tpl" }

<table border=0 width="760" cellpadding=0 cellspacing=0 align="center">
<tr>
<td class=VertMenuBox width=150 valign=top>
{ include file="customer/categories.tpl" }
{if $active_modules.Bestsellers ne "" and $config.Modules.bestsellers_menu eq "Y"}
{ include file="modules/Bestsellers/menu_bestsellers.tpl" }
{/if}
{if $active_modules.Gift_Certificates ne "" or $active_modules.Product_Configurator ne ""}
{ include file="customer/special.tpl" }
{/if}
{if $login eq "" }
{ include file="auth.tpl" }
{else}
{ include file="menu_profile.tpl" }
{/if}


{ include file="customer/menu_cart.tpl" }
{if $login eq "" }
{ include file="news.tpl" }
{else}
{ include file="authbox.tpl" }
{/if}
{if $active_modules.Interneka ne ""}
{ include file="modules/Interneka/menu_interneka.tpl" }
{/if}
{ include file="help.tpl" }


</td>
<td width=20></td>
<td valign=top>

{include file="customer/home_main.tpl"}


</td>
</tr>
</table>
{ include file="rectangle_bottom.tpl" }
</body>
</html>


oziris 12-09-2003 08:26 PM

does anyone know? I don't want to break anything.

Predrag

ryanf 12-18-2003 01:31 AM

I've been thinking about getting rid of the newsletter. Not being able to view subscribers from admin makes the newsletter kinda useless. I'll let you know if I figure out how to get rid of it.

Ryan

shan 12-18-2003 08:57 AM

Find this in home.tpl

Code:

{if $login eq "" }
{ include file="news.tpl" }
{else}


replace with

Code:

{if $conf.news_show and $login eq "" }
{ include file="news.tpl" }
{else}


and run this sql on the database

Code:

INSERT INTO xcart_config VALUES ('news_show', 'Show News', 'N', 'Modules', 11, 'checkbox');

that should give you the option in admin to turn news box on or off

or ....

just comment out the code in home.tpl like this

Code:

{*
{if $login eq "" }
{ include file="news.tpl" }
{else}
*}



All times are GMT -8. The time now is 03:59 PM.

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