Results 1 to 3 of 3

I'm going mad, can someone have a look at this please?

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 ...

      
  1. #1
    Lurker
    Join Date
    Feb 2003
    Posts
    3
    Rep Power
    0


    Default I'm going mad, can someone have a look at this please?

    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

  2. #2
    Lurker
    Join Date
    Jul 2003
    Posts
    4
    Rep Power
    0


    Default

    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. #3
    Lurker
    Join Date
    Feb 2003
    Posts
    3
    Rep Power
    0


    Default

    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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •