Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How do I rename Info Box item


milauskas

Recommended Posts

Posted

If I want to change items in the info box, how do I go about it? I can't seem to find where these terms are defined. For example, I'd like to change Conditions of Use to About Us. I've made the change on the Conditions.php page itself, but I want the link in the Information box to reflect this. Thanks!

Posted
If I want to change items in the info box, how do I go about it? I can't seem to find where these terms are defined. For example, I'd like to change Conditions of Use to About Us. I've made the change on the Conditions.php page itself, but I want the link in the Information box to reflect this. Thanks!

 

Might i suggest downloading mp-oscommerce-[page_editor]-(v1)_1_2 addon. Its the best way i edit all my pages for osCommerce

Posted

its in catalog\includes\boxes\information.php There you could add/remove links from the box.

Posted
its in catalog\includes\boxes\information.php There you could add/remove links from the box.

 

You'll also need to update your includes/filenames.php and your language files if you just intend to rename them.

Posted
You'll also need to update your includes/filenames.php and your language files if you just intend to rename them.

 

Hi all. Thanks for the quick responses. I will check out the page editor add on, but specifically, I just want to change the text of the link "Conditions of Use" in the Information box.

 

I've gone into information.php and I can see the individual links, but they don't contain the text. For example, the "conditions of use" link appears as:

 

'<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' .

 

I know SOMEWHERE the text "Conditions of Use" has been defined. Can I find it and just change it? I can't seem to locate it myself. In the meantime I'll check the page editor, but I am curious. It's when I have problems like this that I get a better idea of where everything is located in osC.

 

Thanks again.

Posted

If that's all you want to fo then find this line in your includes/language/english.php file.

 

define('BOX_HEADING_INFORMATION', 'Information');

 

Just below it you can modify the name as it is displayed in your information box.

Archived

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

×
×
  • Create New...