osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

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


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 07-03-2003, 07:02 AM
Lurker
 
Join Date: Feb 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
philz
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 07-04-2003, 12:28 AM
Lurker
 
Join Date: Jul 2003
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
nrapt
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 07-04-2003, 01:15 AM
Lurker
 
Join Date: Feb 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
philz
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -8. The time now is 05:22 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax