dennis@dhlhomefurnishings. Posted September 2, 2008 Share Posted September 2, 2008 Hi I am trying to add a link to the contact_us page from the about_us page using the MAIN_TEXT body with php code. The php code used in other files to get to the contact_us page doesn't work in the MAIN_TEXT as the php coding seems to be different. This is the code on other pages which I want to modify :- <a href="<?php echo tep_href_link(FILENAME_ABOUT_US); ?>" class="footer"><?php echo HEADER_TITLE_ABOUT_US; ?></a> This is what I have changed it to by looking at code on other pages but it doesn't work and I have also lost the class tag :- <a href="' . tep_href_link(FILENAME_CONTACT_US).' ' .HEADER_TITLE_CONTACT_US. '"></a> If any one can help me with the right code I would be grateful Thanks Link to comment Share on other sites More sharing options...
sLaV- Posted September 2, 2008 Share Posted September 2, 2008 this <a href="' . tep_href_link(FILENAME_CONTACT_US).' ' .HEADER_TITLE_CONTACT_US. '"></a> should be like this <a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . HEADER_TITLE_CONTACT_US. '</a>' Link to comment Share on other sites More sharing options...
dennis@dhlhomefurnishings. Posted September 2, 2008 Author Share Posted September 2, 2008 this <a href="' . tep_href_link(FILENAME_CONTACT_US).' ' .HEADER_TITLE_CONTACT_US. '"></a> should be like this <a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . HEADER_TITLE_CONTACT_US. '</a>' Link to comment Share on other sites More sharing options...
dennis@dhlhomefurnishings. Posted September 2, 2008 Author Share Posted September 2, 2008 Thanks for that - it works perfecty Dennis Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.