niceshirt Posted December 20, 2004 Share Posted December 20, 2004 I would like to add some text regarding my company phone number and address to my Contact Us page. I was planning to place it between the current Contact Us heading and the e-mail entry form. The Returns, Privacy and Conditions pages all had TEXT_INFORMATION lines that I edited. I was directed to these files in INCLUDES/LANGUAGES/ENGLISH by previous forum assistance. The Contact_Us.php file does not have a similar TEXT_INFORMATION line. What do I need to do. I am very thankful for all the help I have received as I am a beginner and novice editor. Thanks in advance. Link to comment Share on other sites More sharing options...
boxtel Posted December 20, 2004 Share Posted December 20, 2004 I would like to add some text regarding my company phone number and address to my Contact Us page. I was planning to place it between the current Contact Us heading and the e-mail entry form. The Returns, Privacy and Conditions pages all had TEXT_INFORMATION lines that I edited. I was directed to these files in INCLUDES/LANGUAGES/ENGLISH by previous forum assistance. The Contact_Us.php file does not have a similar TEXT_INFORMATION line. What do I need to do.I am very thankful for all the help I have received as I am a beginner and novice editor. Thanks in advance. <{POST_SNAPBACK}> you could add in your language files: define('CONTACT_US_TEXT','this is my text'); then in the contact_us.php wherever you like : <?php echo CONTACT_US_TEXT ?> Treasurer MFC Link to comment Share on other sites More sharing options...
TCwho Posted December 20, 2004 Share Posted December 20, 2004 wow Good TIP! Thanks boxtel Drop_Shadow How Did You Hear About Us Email HTML Order Link ---- GMT -5:00 Link to comment Share on other sites More sharing options...
Guest Posted December 21, 2004 Share Posted December 21, 2004 Thank you for the information. I have added the code as per your directions and as you can see from the below link the text is showing up at the top left on the banner. How do I move this to above the form? Thanks in advance. Link to comment Share on other sites More sharing options...
niceshirt Posted December 21, 2004 Author Share Posted December 21, 2004 Thank you for your tip. In my contact_us.php file I entered your suggestion right below the NAVBAR line as follows. define('NAVBAR_TITLE','Contact Us'); <?php echo CONTACT_US_TEXT?> I received this message on the Contact Us page : Parse error: parse error, unexpected '<'in /web/www.da-define('HEADING_TITLE','Contact Us'); I also inserted the following to my english.php file. define('CONTACT_US_TEXT','Please contact us....'); Any suggestions? Link to comment Share on other sites More sharing options...
Jack_mcs Posted December 21, 2004 Share Posted December 21, 2004 Jay - there are two contact_us files. One in the root directory and one in the english directory. The define('NAVBAR_TITLE','Contact Us'); statement is in the english directory but the <?php echo CONTACT_US_TEXT?> statement goes in the file in your root directory. You have them in the same file. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
niceshirt Posted December 22, 2004 Author Share Posted December 22, 2004 Thanks Jack you were right, I had my files messed up. I have been studying the privacy file which works properly to determine at what line to edit the contact file. Line 56 of the privacy file is <td class="main"><?php echo TEXT_INFORMATION; ?></td>. In the contact file it looks to me like I would insert this at line 70. Is this correct and do I need the <td class="main"> or do I just start with the <?php. Thanks to everyone who has helped me. I believe it is close to working. Link to comment Share on other sites More sharing options...
Jack_mcs Posted December 22, 2004 Share Posted December 22, 2004 Thanks Jack you were right, I had my files messed up. I have been studying the privacy file which works properly to determine at what line to edit the contact file. Line 56 of the privacy file is <td class="main"><?php echo TEXT_INFORMATION; ?></td>. In the contact file it looks to me like I would insert this at line 70. Is this correct and do I need the <td class="main"> or do I just start with the <?php. Thanks to everyone who has helped me. I believe it is close to working. <{POST_SNAPBACK}> My shop is way different from yours so those numbers mean nothing to me. You will need to post code or at least me more specific. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
niceshirt Posted December 22, 2004 Author Share Posted December 22, 2004 Thanks Jack, I fixed the problem. I wasn't paying attention to my variable names. Jay Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.