Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

how to add text to the bottom of the contact_us.php page


Guest

Recommended Posts

Posted

i need to know how to add some text, can anyone help me.. im sure its simple, but i just cant figure it out

Posted

Open up the contact us page, find the bottom <tr><td> that holds the buttons.

 

Above it add another:

 

<tr>

 <td class="main">Type your stuff here</td>

</tr>

 

That's the quick way to do it, not the proper way (which involves creating a define in the language file and then echo'ing it back.

 

Nothing to do with Oscommerce is Rocket Science - it just takes trial and error to learn what you can do with it. If it's beyond your skill level then get someone else to do it for you (and expect to pay appropriately).

Posted

thanks, do you also know the proper way, or where some info is on doing it the proper way?

also, in the contact_us.php there is no tags where the buttons are, perhaps im in the wrong file...

Posted

The contact_us.php you are looking for resides in the catalog. Here is an example of where to place your HTML:

 

<tr>

           <td class="main"><?php echo ENTRY_ENQUIRY; ?></td>

         </tr>

         <tr>

           <td><?php echo tep_draw_textarea_field('enquiry', 'soft', 50, 15, $HTTP_POST_VARS['enquiry']); ?><br></td>

         </tr>

   <tr><td>





      	 

                                  Place your HTML here







	 </td></tr>

	 <td class="main" align="right"><br>

	 <?php echo tep_image_submit('button_continue.gif', IMAGE_BUTTON_CONTINUE); ?></td>

       </table></form></td>

     </tr>

 

I just use dreamweaver to write the html for me in the split view mode. I then just copy and paste that code right in.

 

HTH

-Richard

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

Where would I be without the Forums?!?!

Posted

cheers all, i got it all done now :)

 

www.compudyne.co.nz

 

:)

Archived

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

×
×
  • Create New...