Guest Posted October 13, 2005 Posted October 13, 2005 can anyone tell me how I can create new catogories in the bottom left hand box with shipping, terms etc and how do I edit them once they are there
VectorSix Posted October 13, 2005 Posted October 13, 2005 can anyone tell me how I can create new catogories in the bottom left hand box with shipping, terms etc and how do I edit them once they are there You want to add categories to the Information Box? Can you clarify a little ?
Guest Posted October 13, 2005 Posted October 13, 2005 I want to add a links page and also a page about wholesale, I dont know how to add the extra links-im a computer thicky. I would like to put them in the information box at the bottom left hand side
VectorSix Posted October 13, 2005 Posted October 13, 2005 I think I understand now. There are several files involved in defining the links in the boxes. /includes/boxes/information.php The Information Box is located in /includes/boxes/information.php. Pay attention to this portion: $info_box_contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a><br>' . '<a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a>'); There are other pages involved here as well. The first is It is located in the /includes/languages/english.php. In this file you will see these definitions: // information box text in includes/boxes/information.php define('BOX_HEADING_INFORMATION', 'Information'); define('BOX_INFORMATION_PRIVACY', 'Privacy Notice'); define('BOX_INFORMATION_CONDITIONS', 'Conditions of Use'); define('BOX_INFORMATION_SHIPPING', 'Shipping & Returns'); define('BOX_INFORMATION_CONTACT', 'Contact Us'); The last file is located in /includes/filenames.php: define('FILENAME_PRIVACY', 'privacy.php'); define('FILENAME_CONDITIONS', 'conditions.php'); define('FILENAME_SHIPPING', 'shipping.php'); define('FILENAME_CONTACT_US', 'contact_us.php'); If you wanted to add a link to a file called Wholesale for Example: Change information.php like this: $info_box_contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a><br>' . '<a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a><br>' . '<a href="' . tep_href_link(FILENAME_WHOLESALE) . '">' . BOX_INFORMATION_WHOLESALE . '</a>'); Add this in english.php define('BOX_INFORMATION_WHOLESALE', 'Wholesale Info'); Add this in filenames.php define('FILENAME_WHOLESALE', 'your_wholesale_page.php'); Good Luck V6 :thumbsup:
Recommended Posts
Archived
This topic is now archived and is closed to further replies.