Forums / General Questions / How to delete the "newsletter subscribe" box when logging in ?

How to delete the "newsletter subscribe" box when logging in ?

Locked

Started by akasashasha on 21 Oct 2010, 8:56 AM · Views: 1,917

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
21 Oct 2010, 8:56 AM
#1
akasashasha avatar

akasashasha

Zen Follower

Join Date:
Mar 2009
Location:
France
Posts:
158
Plugin Contributions:
0

How to delete the "newsletter subscribe" box when logging in ?

using zencart 1.3.7 ( I know I need to upgrade, will be done soon)

Hi guys,

is there a easy way to delete the newsletter subscribe box in the logging in online area ... the point is that I'm now using mailchimp so I'm gonna paste a link to a chimp form somwhere on my homepage.

Thanks

Aka

21 Oct 2010, 10:44 AM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: How to delete the "newsletter subscribe" box when logging in ?

You can open tpl_modules_create_account.php, find this and remove the red part:

<fieldset> <legend><?php echo ENTRY_EMAIL_PREFERENCE; ?></legend> <?php if (ACCOUNT_NEWSLETTER_STATUS != 0) { ?> <?php echo zen_draw_checkbox_field('newsletter', '1', $newsletter, 'id="newsletter-checkbox"') . '<label class="checkboxLabel" for="newsletter-checkbox">' . ENTRY_NEWSLETTER . '</label>' . (zen_not_null(ENTRY_NEWSLETTER_TEXT) ? '<span class="alert">' . ENTRY_NEWSLETTER_TEXT . '</span>': ''); ?> <br class="clearBoth" /> <?php } ?>

You'll also need to edit this define in english.php to remove the newsletter part:

Line #616 : define('ENTRY_EMAIL_PREFERENCE','Newsletter and Email Details');

21 Oct 2010, 2:17 PM
#3
akasashasha avatar

akasashasha

Zen Follower

Join Date:
Mar 2009
Location:
France
Posts:
158
Plugin Contributions:
0

Re: How to delete the "newsletter subscribe" box when logging in ?

...thanks, and I just thought about something else : can you tell me how to do if instead of displaying the newsletter checkbox I would like to display "Newsletter Subscription" and when people click on it it links to my maylchimp form directly.
thanks

Aka

21 Oct 2010, 4:30 PM
#4
twins225 avatar

twins225

New Zenner

Join Date:
Apr 2010
Posts:
53
Plugin Contributions:
0

Re: How to delete the "newsletter subscribe" box when logging in ?

Akasashasha:

...thanks, and I just thought about something else : can you tell me how to do if instead of displaying the newsletter checkbox I would like to display "Newsletter Subscription" and when people click on it it links to my maylchimp form directly.
thanks

Aka

i am also intersted in this too:) thanks

21 Oct 2010, 4:33 PM
#5
twins225 avatar

twins225

New Zenner

Join Date:
Apr 2010
Posts:
53
Plugin Contributions:
0

Re: How to delete the "newsletter subscribe" box when logging in ?

stevesh:

You can open [B]tpl_modules_create_account.php[/B

can someone help me locate this file please? thanks:)

21 Oct 2010, 4:46 PM
#6
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: How to delete the "newsletter subscribe" box when logging in ?

That file is in includes/templates/template_default/templates

After editing it would go in includes/templates/YOUR_TEMPLATE_NAME/templates

You could code a link (a href ...) around the same place in that file that linked to your form.

21 Oct 2010, 4:49 PM
#7
twins225 avatar

twins225

New Zenner

Join Date:
Apr 2010
Posts:
53
Plugin Contributions:
0

Re: How to delete the "newsletter subscribe" box when logging in ?

ok...i found the tpl_modules_create_account file, but can someone tell me where i can remove "newsletter unsubscribe" from my side bar?

21 Oct 2010, 5:01 PM
#8
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: How to delete the "newsletter subscribe" box when logging in ?

Admin - Configuration - Email Options

21 Oct 2010, 5:08 PM
#9
twins225 avatar

twins225

New Zenner

Join Date:
Apr 2010
Posts:
53
Plugin Contributions:
0

Re: How to delete the "newsletter subscribe" box when logging in ?

ok perfect. thank you.
now i am trying to add another "define_page file" for that same side box. this is where i would like to put my newsletter subscription link. i see it in my zen admin back end, but it doesn't show up in my side bar in my store.. i hope that made sense? can someone help me get it to show up?

22 Oct 2010, 8:27 AM
#10
akasashasha avatar

akasashasha

Zen Follower

Join Date:
Mar 2009
Location:
France
Posts:
158
Plugin Contributions:
0

Re: How to delete the "newsletter subscribe" box when logging in ?

dears, I'm quit new to all this html language so woud someone be very kind and give me a step by step guide : how to access the file, which part to delete, what shall be paste instead ... ?
thanks a lot

Aka