Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Contact.php - edit text


BlizzardBoy

Recommended Posts

Hello,

 

You know on the stock site how you see at the bottom left corner under the information box, you have the contact us link? Alright, when you click on it, it takes you to the contact_us.php file. When I go there, I see a box for Full Name, Email, etc.

 

What I want to know is how to add in text above these boxes - like a phone number.

 

I've tried adding in:

 

define('TEXT_INFORMATION', 'My Text Here.');

 

and it didn't work. What do I need to do to get text on the screen?

Link to comment
Share on other sites

Hello,

 

You know on the stock site how you see at the bottom left corner under the information box, you have the contact us link? Alright, when you click on it, it takes you to the contact_us.php file. When I go there, I see a box for Full Name, Email, etc.

 

What I want to know is how to add in text above these boxes - like a phone number.

 

I've tried adding in:

 

define('TEXT_INFORMATION', 'My Text Here.');

 

and it didn't work. What do I need to do to get text on the screen?

 

Defining is great but you need to edit the contact_us.php page to echo that variable or

after the line that says

<!-- body_text //--> in the contact_us.php in the "catalog" directory

 

add

 

<?php echo TEXT_INFORMATION; ?><br />

 

 

Let me know if this helped,

 

 

Tapuahk

Link to comment
Share on other sites

Defining is great but you need to edit the contact_us.php page to echo that variable or

after the line that says

<!-- body_text //--> in the contact_us.php in the "catalog" directory

 

add

 

<?php echo TEXT_INFORMATION; ?><br />

Let me know if this helped,

Tapuahk

 

<?php

define('HEADING_TITLE', 'Contact Us');

define('NAVBAR_TITLE', 'Contact Us');

define('TEXT_SUCCESS', 'Your enquiry has been successfully sent to the Store Owner.');

define('EMAIL_SUBJECT', 'Enquiry from ' . STORE_NAME);

<?php echo TEXT_INFORMATION; ?><br />

(my contact here)

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

define('ENTRY_EMAIL', 'E-Mail Address:');

define('ENTRY_ENQUIRY', 'Enquiry:');

?>

 

like that?? but it didn't work!! it's say line 6 got problem

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...