Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How To Add A Text Box


abubobbob

Recommended Posts

Posted

Im trying to add a text box to the contact us page below the enquiry box, but my attempts either appear at the top of the page or cause something else to go wrong.

 

His the scripts for that page, someone help me out please :rolleyes: . If anyone has a good site for learning the coding i need to be able to work this stuff out myself that would be great.

 

<?php
/*
 $Id: contact_us.php,v 1.7 2002/11/19 01:48:08 dgw_ Exp $

 osCommerce, Open Source E-Commerce Solutions
 [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url]

 Copyright © 2002 osCommerce

 Released under the GNU General Public License
*/

define('HEADING_TITLE', 'Contact Us');
define('NAVBAR_TITLE', 'Contact Us');
define('TEXT_SUCCESS', 'Your enquiry has been successfully sent to the Store Owner.');
define('EMAIL_SUBJECT', 'Enquiry from ' . STORE_NAME);

define('ENTRY_NAME', 'Full Name:');
define('ENTRY_EMAIL', 'E-Mail Address:');
define('ENTRY_ENQUIRY', 'Enquiry:');
?>

Posted
Im trying to add a text box to the contact us page below the enquiry box, but my attempts either appear at the top of the page or cause something else to go wrong.

 

His the scripts for that page, someone help me out please :rolleyes: . If anyone has a good site for learning the coding i need to be able to work this stuff out myself that would be great.

 

<?php
/*
 $Id: contact_us.php,v 1.7 2002/11/19 01:48:08 dgw_ Exp $

 osCommerce, Open Source E-Commerce Solutions
 [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url]

 Copyright © 2002 osCommerce

 Released under the GNU General Public License
*/

define('HEADING_TITLE', 'Contact Us');
define('NAVBAR_TITLE', 'Contact Us');
define('TEXT_SUCCESS', 'Your enquiry has been successfully sent to the Store Owner.');
define('EMAIL_SUBJECT', 'Enquiry from ' . STORE_NAME);

define('ENTRY_NAME', 'Full Name:');
define('ENTRY_EMAIL', 'E-Mail Address:');
define('ENTRY_ENQUIRY', 'Enquiry:');
?>

 

The page that you sent is from the store/includes/languages/english directory. That holds all of the text that will appear on the page. IF you want to include a text box on the page, go to the file in store/contact_us.php, then let us know where it is that you want the text box to appear.

Posted

Hi thanks for the response... I see where your going wit this, so i have to insert the box in this file then edit it from the language file right? probly not :D. Any wayz the store/contact_us.php is just the stock file from when you download oscommerce. I want to insert a text box below the Enquiry box, just to add a little bit of writting. Thanks Beaucowan for the help, and thanks in advance for any help any one can give me :). Im new to alot of this an Oscommerce throws in the deep end and kicks you in the nuts... Btw whats the quickest way to find a line of script, i had a error on line 1313... meow???? i just found an old copy of the file and pasted that back in seemed to work, abit of a bodge job but its like the way i do my plumbing.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...