Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

INFOBOX SITUATION


kingkahn22

Recommended Posts

Article 49 at oscoomerce.info

Add Box Pages

 

I completed done, what the article instructed.

 

I am getting this problem,

Info Box displays two items I have removed, and doesn't display the item I have Added.

 

 

Shows user this, under information box:

BOX_INFORMATION_SHIPPING

BOX_INFORMATION_PRIVACY

 

Help would be gratefully accepted.

Link to comment
Share on other sites

 

Looks llike you missed a step in the installation instructions.

 

Try again.

-------------------------------------------------------------------------------------------------------------------------

NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit.

If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.

Link to comment
Share on other sites

If you don't want those items to show, then edit them out in includes/languages/english.php (assuming English to be the default language).

 

//BOX_INFORMATION_SHIPPING

//BOX_INFORMATION_PRIVACY

 

Vger

Link to comment
Share on other sites

  • 8 months later...
Article 49 at oscoomerce.info

Add Box Pages

 

I completed done, what the article instructed.

 

I am getting this problem,

Info Box displays two items I have removed, and doesn't display the item I have Added.

Shows user this, under information box:

BOX_INFORMATION_SHIPPING

BOX_INFORMATION_PRIVACY

 

Help would be gratefully accepted.

 

 

I read about this originally on the OS Commerce forums in 2005 but could not find the info again in 2006 when I ran into this problem once more while re-installing my oscommerce based site.

 

Using the ?Add Box Pages? contribution found below?

 

http://www.oscommerce.info/kb/osCommerce/C...g_Area/Boxes/49

 

I added an ?About Us? and ?Links? page to the ?Information? box.

 

In spite of double checking all the php code, formatting, plus updating all files as described in the steps, the following displayed in the ?Information? box. The links worked OK, the pages were same, etc?

 

BOX_INFORMATION_ABOUT_US

BOX_INFORMATION_LINKS

 

All other existing links below these were displayed as normal.

 

Assuming you haven?t made an error in your code, etc? the problem as vaguely recalled and re-discovered is to make sure the php versions in the file headers are the same in the following files:

 

/catalog/includes/boxes/information.php

/catalog/includes/languages/english.php

/catalog/includes/filenames.php

/catalog/includes/languages/about_us.php

/catalog/about_us.php

 

Above examples for my ?About Us? page?

 

The reason I originally ran into this problem was when I moved my page to a new service provider. It seems to be based on which version of php support is on the server as well, ie: the original server used an older version of php. I suspect if a called file has an older version of php specified, this creates the problem in displaying the information correctly. The original tip on this fix is buried someplace deep in the archives on the forums.

 

My version currently reads as follows in all files?

 

<?php

/*

$Id: information.php,v 1.22 2003/02/10 22:31:00 hpdl Exp $

 

Hope this helps?

 

Jacques at audiofool.com

:)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...