Jack_mcs Posted November 20, 2003 Share Posted November 20, 2003 I want to add a small form to the left column that just has a text box and a submit button so visitors can add themselves to a mailing list. I don't know enough php to do it that way so I figure to just use html. In wiki under Create new Box, there are instructions for adding a box. It says to make a copy of information.php, renamed to mailinglist.php in my case, and to insert two lines into column_left.php: require(DIR_WS_BOXES . 'mailinglist.php'); require(DIR_WS_BOXES . 'information.php'); My mailinglist.php is basically empty for now (shown below). If I try it just as mentioned, I get two information boxes since I already have require(DIR_WS_BOXES . 'information.php'); in column_left.php. If I try to insert some code into mailinglist.php, it is displayed above the first information box but is not contained in a box itself. If I comment out the second require above, then mailinglist.php doesn't get displayed at all. I'm totally confused with this. Does anyone know how to do this? Jack <?php /* $Id: mailinglist.php,v 1.6 2003/02/10 22:31:00 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ ?> <!-- mailinglist //--> <tr> <td> </td> </tr> <!-- mailinglist_eof //--> Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.