nessworks Posted July 15, 2005 Share Posted July 15, 2005 I am working on finishing some details of a site. I have sucessfully been able to edit pages from information box with the exception of the contact_us.php page. I am somewhat of a newbie with php, but I can usually get find way through. Any tips to adding additional code to this page would be appreciated. I have seen a couple post's ... but have been unsuccesful with the implementation into the page. Link to comment Share on other sites More sharing options...
ozEworks Posted July 16, 2005 Share Posted July 16, 2005 What do you want to add? Text or "code"? Link to comment Share on other sites More sharing options...
nessworks Posted July 16, 2005 Author Share Posted July 16, 2005 I would like to add additional text after CONTACT US and before the name field begins. Link to comment Share on other sites More sharing options...
♥Vger Posted July 16, 2005 Share Posted July 16, 2005 If you want to automatically add the Store Details to that page then you can do it with this little contribution: http://www.oscommerce.com/community/contributions,3250 If you wnat to pull in some other information then it will give you an idea of what you need to do. Vger Link to comment Share on other sites More sharing options...
Wendy James Posted July 16, 2005 Share Posted July 16, 2005 One way to do it would be to open catalog/contact_us.php and look for <?php echo ENTRY_NAME; ?> and change it to something like <p>Your text here</p><br><br><?php echo ENTRY_NAME; ?> That will put it in the same box as the Name: though. What I normally do is look for <?php } else { ?> right above the <?php echo ENTRY_NAME; ?> and add a new table cell so it looks like <?php } else { ?> <tr> <td class="main">Your text here</td> </tr> Hope that helps some Wendy James Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep. Link to comment Share on other sites More sharing options...
nessworks Posted July 18, 2005 Author Share Posted July 18, 2005 Thanks All! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.