Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How do I add custom text into the "Contact Us" page???


Tuan Le

Recommended Posts

Posted

Can someone please point me to the right direction on how to add custom text into this area of the "Contact Us" page? I have try editting the "contact_us.php" file under "includes\languages\english" directory but still couldn't get the text to display. However, my custom text in the "privacy.php", "conditions.php", and "shipping.php" files are showing up just fine.

 

Thanks for your help.

-Tuan

 

 

contactus2jc.jpg

Posted
Can someone please point me to the right direction on how to add custom text into this area of the "Contact Us" page? I have try editting the "contact_us.php" file under "includes\languages\english" directory but still couldn't get the text to display. However, my custom text in the "privacy.php", "conditions.php", and "shipping.php" files are showing up just fine.

 

Thanks for your help.

-Tuan

contactus2jc.jpg

 

maybe this what you are looking for: http://www.oscommerce.com/community/contri...arch,Contact+us

Wade Morris

Amarillo, Texas

 

Before you do any changes on your site you need to do BACKUP! BACKUP!

Posted

Add the following to your contact_us.php file just before the info form

 

<tr>

<td class="main" align="center"><?php echo TEXT_INFO; ?></td>

</tr>

 

 

Then in your include/languages/english/contact_us.php add the following line after the navbar define

 

 

define('TEXT_INFO', ' Your info here!!! ');

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Posted

Can you please let me know exactly which line I should insert that code right under? Just not too sure where the info form starts. Sorry. :unsure:

 

Add the following to your contact_us.php file just before the info form

 

<tr>

<td class="main" align="center"><?php echo TEXT_INFO; ?></td>

</tr>

Posted
Can you please let me know exactly which line I should insert that code right under? Just not too sure where the info form starts. Sorry. :unsure:

 

It should look something like

 

<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>

<td align="right"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>'; ?></td>

<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>

</tr>

</table></td>

</tr>

</table></td>

</tr>

<?php

} else {

?>

 

<tr>

<td class="main" align="center"><?php echo TEXT_INFO; ?></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>

</tr>

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Archived

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

×
×
  • Create New...