This is a discussion on I'm going mad, can someone have a look at this please? within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; This morning I decided that I needed a couple of extra links in my "Information" box so I read the ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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 |
| Sponsored Links | ||
| ||
|
#2
| |||
| |||
| Just in case you don't already have it: http://wiki.oscommerce.com/helpModsAddBoxLinks You need to add/change a total of 5 files. You only have 4 listed above. If your new page is Customer Charter, you need: catalog/customer_charter.php AND catalog/includes/languages/english/customer_charter.php Jenn |
|
#3
| |||
| |||
| Thanks I've sorted it now, it was the shipping files that I'd copied. I totally forgot that there were 2 different ones and I was copying the same one to the 2 locations, DOH!! All fixed now |
| Sponsored Links | ||
| ||