Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Text Info didn't shown in Contact Us


wancy

Recommended Posts

Hi,

 

I have added this define('TEXT_INFORMATION','If you have any enquiries, please do not hesitate to get in touch with us using the form at below. We will get back to you as soon as possible.'); in the file /includes/languages/english/contact_us.php.

 

 

Content of the file

---------------------

<?php

/*

$Id: contact_us.php 1739 2007-12-20 00:52:16Z hpdl $

 

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','If you have any enquiries, please do not hesitate to get in touch with us using the form at below. We will get back to you as soon as possible.');

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:');

?>

 

 

But the text information did not display on my Contact Us page. Izit i have added wrongly?

 

Please help.

 

Thanks

Link to comment
Share on other sites

You have to add <?php echo TEXT_INFORMATION; ?> in the place where you want it to display. You may need to add HTML around it to get the formatting correct. Something like

	  <tr>
	<td><?php echo TEXT_INFORMATION; ?></td>
  </tr>
  <tr>
	<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
  </tr>

would probably work right after the else in the HTML. Would look like

<?php
 } else {
?>
  <tr>
	<td><?php echo TEXT_INFORMATION; ?></td>
  </tr>
  <tr>
	<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
  </tr>
  <tr>
	<td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
	  <tr class="infoBoxContents">
		<td><table border="0" width="100%" cellspacing="0" cellpadding="2">
		  <tr>
			<td class="main"><?php echo ENTRY_NAME; ?></td>

Always back up before making changes.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...