Guest Posted July 3, 2003 Posted July 3, 2003 This morning I decided that I needed a couple of extra links in my "Information" box so I read the docs and managed to add the first one, "copyright". No problem so far. Then I though I should add a customer charter box so I repeated the process but when I click on the link it brings up a blank page. Totally empty, nothing, nada. Here's what I did. In application_top.php I added define('FILENAME_CUSTOMER_CHARTER', 'customer_charter.php'); In information.php I added '<a href="' . tep_href_link(FILENAME_CUSTOMER_CHARTER, '', 'NONSSL') . '">' . BOX_INFORMATION_CUSTOMER_CHARTER . '</a><br>' . In english.php I added define('BOX_INFORMATION_CUSTOMER_CHARTER', 'Customer Charter'); under the information box section Then I copied shipping.php and changed it as follows <?php /* $Id: customer_charter.php,v 1.3 2001/12/20 14:14:15 dgw_ Exp $ The Exchange Project - Community Made Shopping! http://www.theexchangeproject.org Copyright © 2000,2001 The Exchange Project Released under the GNU General Public License */ define('NAVBAR_TITLE', 'Customer Charter'); define('HEADING_TITLE', 'Customer Charter'); define('TEXT_INFORMATION', 'Nothing to see here yet'); ?> and saved it as customer_charter.php I've uploaded all of the above to the relevant directories but it's still not working. I know it's probably a stray comma or something so I'd appreciate it if someone could have a look over it and point out the obvious :)
mattice Posted July 3, 2003 Posted July 3, 2003 In information.php I added '<a href="' . tep_href_link(FILENAME_CUSTOMER_CHARTER, '', 'NONSSL') . '">' . BOX_INFORMATION_CUSTOMER_CHARTER . '</a><br>' . Just a guess - change the last dot to a comma in the above? "Politics is the art of preventing people from taking part in affairs which properly concern them"
burt Posted July 3, 2003 Posted July 3, 2003 You have mentioned the following: a) application_top changes B) addition of link to infobox c) creation of language file What about: d) copy the main PHP file in root - shipping.php and call it customer_charter.php That you have not mentioned.
Guest Posted July 3, 2003 Posted July 3, 2003 burt, you are a genius!!!!!!! I totally forgot that the 2 shipping.php files were different, I was copying the same file to both locations!! many thanks :)
burt Posted July 5, 2003 Posted July 5, 2003 burt, you are a genius!!!!!!!I have been called many things but never a genius before :lol: I totally forgot that the 2 shipping.php files were different, I was copying the same file to both locations!! No probs. Glad you got it sorted.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.