Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

contact_us_choice contrib


Guest

Recommended Posts

Posted

The following shows up at the top of the page and I do not no how to fix the contact_us.php file.

 

 

'EMAIL_PREAMBLE_TEXT', 'Sent from Contact Us page by the %s at IP '); define('ENTRY_NAME', 'Your Name:'); define('ENTRY_NAME_CHECK_ERROR', ' Name must be at least 3 characters.'); define('ENTRY_EMAIL', 'Your E-Mail Address:'); define('ENTRY_ENQUIRY', 'Message:'); define('ENTRY_ENQUIRY_CHECK_ERROR', ' There is no text in the message.'); define('SEND_TO_TEXT', 'Send E-Mail To:'); define('SEND_TO_TYPE', 'radio'); // use '' for a dropdown menu, 'radio' for radio buttons define('CONTACT_MAP_LINK',''); // link to maps.yahoo.com, mapquest.com, etc for store location define('IMAGE_BUTTON_MAP', 'Get Map'); define('IMAGE_BUTTON_SEND', 'Send'); define('CONTACT_US_ADDL_TEXT', ''); // text such as business hours or other contact info define('CONTACT_US_ADDL_TEXT_ALIGN',''); // 'left', 'right' or 'justify' (default is 'center') ?>

Posted

Looks like a language file, not the contact_us.php in the catalog

Did you mix the two up somehow?

 

Either that or you are missing part of the code that lets the page know it is php and not html and not suposed to be showing up. Looks like at the very least you may be missing

<?php define(

before the 'EMAIL_PREAMBLE_TEXT'

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Posted

Thank you

 

you were correct in the language/contact_us.php The define( was replaced by <?php. in the code.

Archived

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

×
×
  • Create New...