Guest Posted November 15, 2006 Share Posted November 15, 2006 Hi, Im trying to add text to the contact us page of my site. I just want to add the busineess address and telephone number but unlike the other files such as the index.php file in includes/languages/english it has a field: define('TEXT_INFORMATION', 'text will go here'); Then the text will be displayed. On the contact us page there is no field to put text in so i tried dropping it into the code but it just gives out errors. define('TEXT_SUCCESS', 'Your enquiry has been successfully sent to the the team at Go Faster Bits.'); define('EMAIL_SUBJECT', 'Enquiry from ' . STORE_NAME); define('TEXT_INFORMATION', 'text will go here'); define('ENTRY_NAME', 'Full Name:'); define('ENTRY_EMAIL', 'E-Mail Address:'); Is there any way i can get this to work or another way to add teh business address and telephone number to the contact us page? Thanks in advance Link to comment Share on other sites More sharing options...
bill110 Posted November 15, 2006 Share Posted November 15, 2006 the above should work and then on catelog/contact_us.php put this in the place you want it to show up <tr> <td class="main"><?php echo TEXT_INFORMATION; ?></td> </tr> My Contributions Stylesheet With Descriptions Glassy Grey Boxtops Our Products Meta Tags On The Fly Password Protect Admin "No matter where you go....There you are" - Buccaroo Bonsai Link to comment Share on other sites More sharing options...
jdvb Posted November 15, 2006 Share Posted November 15, 2006 unless TEXT_INFORMATION has been previously defined elsewhere. In that case you can make a TEXT_INFORMATION2 for example. Link to comment Share on other sites More sharing options...
Guest Posted November 15, 2006 Share Posted November 15, 2006 Thanks, it now works Link to comment Share on other sites More sharing options...
egattocs Posted November 15, 2006 Share Posted November 15, 2006 There is also a contribution available which will add your address and tel numbers as per the info you add in your admin section (Admin>Configuration>My Store>Store address and phone). You can find the Contrib here: http://www.oscommerce.com/community/contributions,3250 I find it useful if you ever change your contact details, no need to edit your details in more than one place. Hope that helps. Scott Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.