ctlee15 Posted August 17, 2011 Posted August 17, 2011 Hello, I would like to add additional text to the Contact Us page (contact.php). I attempted to add a line "define ('TEXT_INFORMATION', 'xxxxxx'); but it did not work. Any suggestions on this would be greatly appreciated. Best, Christopher
♥toyicebear Posted August 17, 2011 Posted August 17, 2011 1. add in the text define you want in the language file.. includes/languages/english/contact_us.php 2. add in a call for that text define in the main file contact_us.php Basics for osC 2.2 Design - Basics for Design V2.3+ - Seo & Sef Url's - Meta Tags for Your osC Shop - Steps to prevent Fraud... - MS3 and Team News... - SEO, Meta Tags, SEF Urls and osCommerce - Commercial Support Inquiries - OSC 2.3+ How To To see what more i can do for you check out my profile [click here]
ctlee15 Posted August 17, 2011 Author Posted August 17, 2011 1. add in the text define you want in the language file.. includes/languages/english/contact_us.php 2. add in a call for that text define in the main file contact_us.php Hi Nick, Thank you for your assistance on this.. Best, Christopher
ctlee15 Posted August 18, 2011 Author Posted August 18, 2011 1. add in the text define you want in the language file.. includes/languages/english/contact_us.php 2. add in a call for that text define in the main file contact_us.php Hi Nick, I added the text define into the language file using the following code: <?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2002 osCommerce Released under the GNU General Public License */ define('HEADING_TITLE', 'Contact Us'); define('NAVBAR_TITLE', 'Contact Us'); define('TEXT_INFORMATION', 'PUT YOUR INFORMATION HERE.'); define('TEXT_SUCCESS', 'Your inquiry has been successfully sent to LGF Tactical.'); define('EMAIL_SUBJECT', 'Inquiry from ' . STORE_NAME); define('ENTRY_NAME', 'Full Name:'); define('ENTRY_EMAIL', 'E-Mail Address:'); define('ENTRY_ENQUIRY', 'Product Inquiry:'); define('ERROR_ACTION_RECORDER', 'Error: An enquiry has already been sent. Please try again in %s minutes.'); ?> When I attempt to add in a call for that text define (in the main contact_us.php file) it disrupts the format of the left and right containers on the contact us page. Am I adding in the text define wrong?? Best, Chris
vishalchauhan Posted August 18, 2011 Posted August 18, 2011 Hi Nick, I added the text define into the language file using the following code: <?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2002 osCommerce Released under the GNU General Public License */ define('HEADING_TITLE', 'Contact Us'); define('NAVBAR_TITLE', 'Contact Us'); define('TEXT_INFORMATION', 'PUT YOUR INFORMATION HERE.'); define('TEXT_SUCCESS', 'Your inquiry has been successfully sent to LGF Tactical.'); define('EMAIL_SUBJECT', 'Inquiry from ' . STORE_NAME); define('ENTRY_NAME', 'Full Name:'); define('ENTRY_EMAIL', 'E-Mail Address:'); define('ENTRY_ENQUIRY', 'Product Inquiry:'); define('ERROR_ACTION_RECORDER', 'Error: An enquiry has already been sent. Please try again in %s minutes.'); ?> When I attempt to add in a call for that text define (in the main contact_us.php file) it disrupts the format of the left and right containers on the contact us page. Am I adding in the text define wrong?? Best, Chris i think it's a designing issue... if you are using osc 2.3.1. then you have to check <div> tag format and if you are using osc 2.2 then you have to check <table> format Please take backup of your files before do changes suggested by me
ctlee15 Posted August 18, 2011 Author Posted August 18, 2011 i think it's a designing issue... if you are using osc 2.3.1. then you have to check <div> tag format and if you are using osc 2.2 then you have to check <table> format Yes, I am using 2-3-1. I will refer to the <div> tag format to see what I am doing wrong. Best, Christopher
Recommended Posts
Archived
This topic is now archived and is closed to further replies.