Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Information Box


coves

Recommended Posts

I am pulling my hair out trying to clean up this little issue where I have added pages to the project that are working from a linking stand point but are not being displayed correctly in the "information" box where I added them. The kicker is that I added a couple of items to this area a couple of weeks ago that are working, however I can not figure it out... Can someone help with this???

 

Displayed int he Information box:

BOX_INFORMATION_LINKS

 

Should display:

Links

 

Thanks

Link to comment
Share on other sites

Go into catalog/includes/languages/english.php

 

look for the area grouped together that all says BOX_INFORMATION_.....

 

Add this at the bottom of that group

 

define('BOX_INFORMATION_LINKS', 'Links');

 

if that doesnt do it for you, or if you already did that, then I dont know what to say, lol.

Link to comment
Share on other sites

Thanks, you were that extra push I needed. I had already added this define statement in the catalog/includes/filenames.php, however, I added this line again, but at the top of the file and it is working as expected! Not what I would expect, but it is working...

 

define('BOX_INFORMATION_LINKS', 'Links');

 

Many Thanks!

Bill

Link to comment
Share on other sites

While it does work to put that in filenames.php, it's poor practice. filenames.php is for defining all the filenames - english.php is for defining the language variables. You need a statement like this in filenames:

define('FILE_LINKS', 'links.php');

and one like this in english.php:

define('BOX_INFORMATION_LINKS', 'Links');

Chris Dunning

osCommerce, Contributions Moderator Team

 

Please do not send me PM! I do not read or answer these often. Use the email button instead!

 

I do NOT support contributions other than my own. Emails asking for support on other people's contributions will be ignored. Ask in the forum or contact the contribution author directly.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...