Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Edit "Contact Us" page


Guest

Recommended Posts

Posted

Hi all,

 

For the life of me I can't figure out how to edit the "Contact Us" page. I managed to edit "Conditions of Use" etc because it's straightforward, you just need to edit the define ('TEXT_INFORMATION') bit.

 

However, on "Contact Us", there is no such code. I decided to put it there myself but nothing happened.

 

Any ideas?

Posted

what is it u want on that includes/lnguages/english/contact_us.php is the file

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Posted

Any text really. For example, I want to put something like "Hi, you can also email me at [email protected]" at the top before the form.

 

I know that's the file to edit, but when I put

define ('TEXT_INFORMATION', 'This is my text');

nothing happens (ie I can't see the additional text). So what gives?

 

Thanks :)

Posted

to add any text with any new defines, such as 'TEXT_INFORMATION' you must edit the physical page as well to include that!, ie catalog/contact_us.php

 

did u think just adding a define would get it added to the code??

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Posted

Yeah I'm not familiar with php. I thought that was the case, but I tried looking for the file that defines TEXT_INFORMATION with no luck (I know, should've looked in catalog/contact_us.php.. doh). So I thought it might've been a pre-defined function or something from the php library.

 

Anyways, it's worked. Thanks very much for pointing this out :)

  • 2 years later...
Posted

I am trying to change my contact_us page now, i put the code in define('TEXT_INFORMATION', 'All Products are delivered directly from the manufactures.'); but it doesn't show, can someone help me, i have tried entering the code in catalog/contact_us but there is no such directory.

Posted

I am trying to change my contact_us page now, i put the code in define('TEXT_INFORMATION', 'All Products are delivered directly from the manufactures.'); but it doesn't show, can someone help me, i have tried entering the code in catalog/contact_us but there is no such directory.

 

It is catalog/contact_us.php and all of us have that file. add

 

<?php echo TEXT_ INFORMATION ; ?>

Archived

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

×
×
  • Create New...