Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding additional text to the contact_us.php


nessworks

Recommended Posts

I am working on finishing some details of a site. I have sucessfully been able to edit pages from information box with the exception of the contact_us.php page. I am somewhat of a newbie with php, but I can usually get find way through.

Any tips to adding additional code to this page would be appreciated. I have seen a couple post's ... but have been unsuccesful with the implementation into the page.

Link to comment
Share on other sites

One way to do it would be to open catalog/contact_us.php and look for

<?php echo ENTRY_NAME; ?> and change it to something like

 

<p>Your text here</p><br><br><?php echo ENTRY_NAME; ?>

 

That will put it in the same box as the Name: though.

 

What I normally do is look for

 

<?php

} else {

?>

right above the <?php echo ENTRY_NAME; ?> and add a new table cell

 

so it looks like

<?php

} else {

?>

<tr>

<td class="main">Your text here</td>

</tr>

 

Hope that helps some

Wendy James

 

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

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...