Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Add additional text to the contact.php page


ctlee15

Recommended Posts

Posted

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

Posted

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

Posted

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

Posted

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

Posted

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

Posted

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

Archived

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

×
×
  • Create New...