osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Where to check newsletter checkbox - checked?

This is a discussion on Where to check newsletter checkbox - checked? within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; I would like to make Newsletter checkbox in new user registration checked by default. Where could I set this. I ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 01-26-2004, 01:35 AM
New Member
 
Join Date: Jan 2004
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
stando
Default Where to check newsletter checkbox - checked?

I would like to make Newsletter checkbox in new user registration checked by default. Where could I set this. I couldn't find it.
THX
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 01-26-2004, 04:21 AM
New Member
 
Join Date: Jan 2003
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Chunks
Default

Easy...

find this page templates/content/create_account.tpl.php

then find this line... between lines 206-212..

Code:
<?php echo tep_draw_checkbox_field('newsletter', '1') . ' ' . (tep_not_null(ENTRY_NEWSLETTER_TEXT) ? '<span class="inputRequirement">' . ENTRY_NEWSLETTER_TEXT . '</span>': ''); ?>
and replace with this...

Code:
<?php echo tep_draw_checkbox_field('newsletter', '1', $checked = true) . ' ' . (tep_not_null(ENTRY_NEWSLETTER_TEXT) ? '<span class="inputRequirement">' . ENTRY_NEWSLETTER_TEXT . '</span>': ''); ?>
and your done..

regards Chunks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Additional Checkbox upon checkout ADVICE seandon01 osCMax v2 Customization/Mods 2 03-09-2007 11:47 AM
gift voucher problem, no checkbox Sander osCMax v2 Customization/Mods 9 12-05-2005 01:44 AM
Validating Comments + add t & c checkbox in checkout_pay Rich2005 osCommerce 2.2 Modification Help 0 06-12-2005 08:05 AM
how to see orders placed but not checked out? pal osCMax v1.7 Discussion 1 05-04-2005 02:52 PM
Welcome Newsletter bobbiejames osCommerce 2.2 Modification Help 0 06-14-2004 08:41 AM


All times are GMT -8. The time now is 09:03 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax