Guest Posted February 29, 2004 Posted February 29, 2004 Ok, so here goes my first post. I am trying to make additions to the information section of my site. This is what i have done. file: catalog/includes/boxes/information.php change: $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>'); to: $info_box_contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_ABOUT_US) . '">' . BOX_INFORMATION_ABOUT . '</a><br>' . '<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>'); file: catalog/includes/languages/english.php (or polish.php etc) find: define('BOX_INFORMATION_CONTACT', ...) add: define('BOX_INFORMATION_ABOUT', 'About us'); file: catalog/includes/filenames.php find: define('FILENAME_CONTACT_US', 'contact_us.php'); add: define('FILENAME_ABOUT_US', 'about_us.php'); copy file catalog/privacy.php to catalog/about_us.php file: catalog/about_us.php replace all FILENAME_PRIVACY with FILENAME_ABOUT_US file: catalog/includes/languages/english/about_us.php change texts: define('NAVBAR_TITLE', 'About us'); define('HEADING_TITLE', 'About us'); define('TEXT_INFORMATION', 'Our <b>company</b> .... '); <- change it ;) ! i found this in the contributions section and have done all the steps yet this is my error. I have the about us link show up in index.php and i can get to the page but there is an error on it. Warning: Cannot send session cache limiter - headers already sent (output started at /homepages/36/d96489579/htdocs/catalog/about_us.php:4) in /homepages/36/d96489579/htdocs/catalog/includes/functions/sessions.php on line 67 Any help would be great!! Thanks Gregg
241 Posted March 1, 2004 Posted March 1, 2004 download the file open it and place your cursor after the last ?> thenpress delete several times, save the file and upload it. Do not use the file manager to edit online as this can cause the whitespace. If you require more information then Click No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.