Forums / General Questions / removing newsletter option from login page

removing newsletter option from login page

Locked

Views: 1,603

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
10 Apr 2007, 2:18 PM
#1
globallink avatar

globallink

New Zenner

Join Date:
Mar 2007
Posts:
10
Plugin Contributions:
0

removing newsletter option from login page

hello, I need to remove the newsletter sign up option from the page where a new customer signs up for an account. I went to configuration > customer details and turned the newsletter option off, but it still shows up on the log in page.

Any ideas?

Thank you!

Scott Powell

11 Apr 2007, 1:32 AM
#2
quantum avatar

quantum

Zen Follower

Join Date:
May 2005
Posts:
134
Plugin Contributions:
0

Re: removing newsletter option from login page

Go to --> includes/templates/template_default/templates/tpl_modules_create_account.php

and remove the following code:

<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 } ?>

<?php echo zen_draw_radio_field('email_format', 'HTML', ($email_format == 'HTML' ? true : false),'id="email-format-html"') . '<label class="radioButtonLabel" for="email-format-html">' . ENTRY_EMAIL_HTML_DISPLAY . '</label>' .  zen_draw_radio_field('email_format', 'TEXT', ($email_format == 'TEXT' ? true : false), 'id="email-format-text"') . '<label class="radioButtonLabel" for="email-format-text">' . ENTRY_EMAIL_TEXT_DISPLAY . '</label>'; ?>
<br class="clearBoth" />
</fieldset> 

Kind Regards,
Andrew

$15 USD A Month Donor To Zen - Please Join The Other Donors