bloomie Posted March 20, 2006 Posted March 20, 2006 We are trying to set up a box in which customers visiting our site can type in their e-mail address and then join our e-mail newsletter. I have the HTML codes from our newsletter website (through Constant Contact), but I am unsure as to where I can enter this code. I would prefer it be on our homepage. Any suggestions? Thanks very much, Lauren.
compwhizmm90 Posted March 20, 2006 Posted March 20, 2006 We are trying to set up a box in which customers visiting our site can type in their e-mail address and then join our e-mail newsletter. I have the HTML codes from our newsletter website (through Constant Contact), but I am unsure as to where I can enter this code. I would prefer it be on our homepage. Any suggestions? Thanks very much,Lauren. not sure that this is the best way to do that but this is what I would do. put the code in an html file. save it to the catalog directory (or whatever the main directory you have in Oscommerce) add this wherever you want it to show up : <?php require(enterfilenamehere.html); ?> so it you wanted it to be underneath your left column, your column_left.php file would look like this: <?php /* $Id: column_left.php,v 1.15 2003/07/01 14:34:54 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_categories_box(); } else { include(DIR_WS_BOXES . 'categories.php'); } if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_manufacturers_box(); } else { include(DIR_WS_BOXES . 'manufacturers.php'); } require(DIR_WS_BOXES . 'whats_new.php'); require(DIR_WS_BOXES . 'search.php'); require(DIR_WS_BOXES . 'information.php'); require(enterfilenamehere.html); ?> again, I kow that is not the best way to do it, someone else might know how to do it better, but I think it is probably the easiest. :D
Recommended Posts
Archived
This topic is now archived and is closed to further replies.