Freedom Fighter Posted December 3, 2002 Posted December 3, 2002 Okay, in the Information box, I want a link inside the box to my forums. How do I add a link in there? Thanks, Alex Extreme Alterations
mattice Posted December 3, 2002 Posted December 3, 2002 echo '< href="' . tep_href_link('yourlink.php', 'youroptionalparameters', 'NONSSL') . '">Name of your link</a>'; to take the session with the client. If you do not need the session just use regular html. "Politics is the art of preventing people from taking part in affairs which properly concern them"
Freedom Fighter Posted December 3, 2002 Author Posted December 3, 2002 Where do I add that code and to what file? Alex Extreme Alterations
nick Posted December 3, 2002 Posted December 3, 2002 Where do I add that code and to what file? In includes/boxes/information.php just add to the end of the info_box_contents ... ala ... $info_box_contents[] = array('align' => 'left', 'text' => '<a href="' . tep_href_link(FILENAME_SHIPPING, '', 'NONSSL') . '">' . BOX_INFORMATION_SHIPPING . '</a><br />' . '<a href="' . tep_href_link(FILENAME_PRIVACY, '', 'NONSSL') . '">' . BOX_INFORMATION_PRIVACY . '</a><br />' . '<a href="' . tep_href_link(FILENAME_CONDITIONS, '', 'NONSSL') . '">' . BOX_INFORMATION_CONDITIONS . '</a><br />' . '<a href="' . tep_href_link(FILENAME_CONTACT_US, '', 'NONSSL') . '">' . BOX_INFORMATION_CONTACT . '</a><br />' . '< href="' . tep_href_link('yourlink.php', ", 'NONSSL') . '">Name of your link</a>'); Thanks Nick
Freedom Fighter Posted December 4, 2002 Author Posted December 4, 2002 I tired that and it gave me an error. Could you give me like a better example of the complete code for the whole page? Thanks, Alex Extreme Alterations
rseigel Posted December 4, 2002 Posted December 4, 2002 Be more specific. Exactly what error did it give you?
Freedom Fighter Posted December 4, 2002 Author Posted December 4, 2002 just like.. error on line something something.. I'm getting fusterated... Another question is, how do you format like the looks of the text in the products box for those with sub catagories? Help with these problems would be greatly appericated. Thanks, Alex Extreme Alterations
mattice Posted December 4, 2002 Posted December 4, 2002 just like.. error on line something something.. Oh.. that error.. the solution is easy.. you just change something on line something. That's all there is to it. :?: "Politics is the art of preventing people from taking part in affairs which properly concern them"
Recommended Posts
Archived
This topic is now archived and is closed to further replies.