Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Edit text on contact page


Guest

Recommended Posts

you could hard code into contact_us.php or create a define for the text in /includes/languages/english/contact_us.php and then call that from within the contact_us.php

 

something like this

 

define('TEXT_INFORMATION', 'Put here your Contact Us Notice information.');

this would go in the /includes/languages/english/contact_us.php

 

then after this code in contact_us.php

            <td class="pageHeading"><?php echo HEADING_TITLE; ?></td>
           <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_contact_us.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>
         </tr>
       </table></td>
     </tr>
     <tr>
       <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
     </tr>

 

have something like this

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

 

you can include html tables php as well as text in the

Put here your Contact Us Notice information
part of the define Edited by 241

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

I have managed to change this page a while ago and I now need to edit the phone number. Even from your instructions I can't find the text I added that needs changing in either the shop.contact_us.php or the /includes/languages/english/contact_us.php page.

 

the site is www.scrapbookcity.com.au click on contact us and you will see the phone number before the form, this is what I need to change. How do I do this?

 

 

you could hard code into contact_us.php or create a define for the text in /includes/languages/english/contact_us.php and then call that from within the contact_us.php

 

something like this

 

define('TEXT_INFORMATION', 'Put here your Contact Us Notice information.');

this would go in the /includes/languages/english/contact_us.php

 

then after this code in contact_us.php

 ? ? ? ? ? ?<td class="pageHeading"><?php echo HEADING_TITLE; ?></td>
? ? ? ? ? ?<td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_contact_us.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>
? ? ? ? ?</tr>
? ? ? ?</table></td>
? ? ?</tr>
? ? ?<tr>
? ? ? ?<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
? ? ?</tr>

 

have something like this

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

 

you can include html tables php as well as text in the  part of the define

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...