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 (c) 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![]()




LinkBack URL
About LinkBacks






Bookmarks