Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding Phone # to Contact & Basic Knowledge


Guest

Recommended Posts

Posted

I had someone do my site and I am trying to get familiarized with the admin section. Is there a basic instructions page? At the moment, I am trying to add phone number to the Contact info. on the site. So the phone # shows on the site when Contact its clicked on. Many other basic questions, that is why I was asking if there's an end user manual.

Thanks for any help in advance. :blink:

Posted

Here for user docs:

 

As for what you are trying to do, open catalog/contact_us.php.

 

Find

 

<tr>
           <td class="main"><?php echo ENTRY_NAME; ?><br><?php echo tep_draw_input_field('name', ($error ? $HTTP_POST_VARS['name'] : $first_name)); ?></td>
         </tr>

 

Immediately before it, add this:

 

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

 

Save the file and then open catalog/includes/languages/english/contact_us.php

 

Above

 

define('ENTRY_NAME', 'Full Name:');

 

add this, adding the text you desire.

 

define('FORM_TEXT', 'Write here the text you want to go on the page eg telephone number etc');

Posted

The closest thing to a manual is the Wiki Docs http://wiki.oscommerce.com/docs

 

As for modding the contact info - you could put a little html code above the standard form in contact_us.php

 

Or you could do what I did, which is have a standard text-based contact page (I did it by rewriting the conditions.php page to be a contact one, and changing the name of the link etc.).

- osCommerce is fun! -

Archived

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

×
×
  • Create New...