osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Newsletter Opt out

This is a discussion on Newsletter Opt out within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; english There is no need to modify any files to achieve the checkbox selected by default. Find in the original ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > New osCommerce Contributions

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack Thread Tools
  #1  
Old 02-09-2008, 05:13 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,314
Thanks: 67
Thanked 321 Times in 304 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Post Newsletter Opt out

english

There is no need to modify any files to achieve the checkbox selected by default.

Find in the original create_acount.php file:
tep_draw_checkbox_field('newsletter', '1')

And set the third parameter to true (it is set to false by default in the html_output.php)... in other words, replace the previous with:
tep_draw_checkbox_field('newsletter', '1',true,'checked')

Is that simple.

the package have the same text


================================================== =============================

Português


Não precisa modificar 3 arquivos só para colocar a caixinha de newsletter como
selecionmada basta editar o codigo do arquivo create_account.php

encontre este codigo:

tep_draw_checkbox_field('newsletter', '1')

e substitua por:

tep_draw_checkbox_field('newsletter', '1',true,'checked')

é isto ,simples assim.

O arquivo pra download contem o mesmo texto

More...
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

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
Newsletter Opt out michael_s New osCommerce Contributions 0 12-29-2007 10:51 AM
Best Newsletter? bkpie osCMax v2 Customization/Mods 5 07-03-2007 05:36 AM
Welcome Newsletter bobbiejames osCommerce 2.2 Modification Help 0 06-14-2004 07:41 AM
Newsletter/registration confirmation request (aka. opt-in) Lynoure osCMax v1.7 Discussion 3 02-23-2004 12:24 PM


All times are GMT -8. The time now is 12:15 AM.


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