Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Renaming a link of an information box???


sentacs

Recommended Posts

Posted

How do I change the shown title of a link for a site of the information box?

 

For example:

 

shipping.php

 

The shown title for the link is: Top ? Catalog ? Shipping & Returns

 

Now I would like to rename it to: Top ? Catalog ? Shipping Cost

 

 

How do I do this? I tried everything but nothing worked. Thank you!

Posted
How do I change the shown title of a link for a site of the information box?

 

For example:

 

shipping.php

 

The shown title for the link is: Top ? Catalog ? Shipping & Returns

 

Now I would like to rename it to: Top ? Catalog ? Shipping Cost

How do I do this? I tried everything but nothing worked. Thank you!

 

Not everything... You need to edit your includes/languages/english/shipping.php file

 

 

define('NAVBAR_TITLE', 'Shipping & Returns');

define('HEADING_TITLE', 'Shipping & Returns');

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Posted

If you want to change the words that are IN the information box shipping link , then go to

 

catalog\includes\languages\english.php(line 126):

 

define('BOX_INFORMATION_SHIPPING', 'Shipping & Returns');

 

If you want to change the words in the breadcrumb trail, then go to

 

catalog\includes\languages\english\shipping.php(line 13):

 

define('NAVBAR_TITLE', 'Shipping & Returns');

Posted

Thank you very much! It worked now ! :D

 

But I still have another problem. I added a new site into the information box (payments) and I did that with copying the whole code text from the shipping.php into a new file paying.php (in catalog) but I also changed it all into new titles in the text so that it does not get mixed up with the shipping one. I also added a new paying.php to: catalog\includes\languages\english\ and changed everything in the text into the new titles.

 

But there is still the name: Top ? Catalog ? Shipping Cost

 

and I need it to be: Top ? Catalog ? Payments

 

I think the problem is that in the paying.php (at catalog) there is still this :

 

 

require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_SHIPPING);

 

 

but if I change FILENAME_SHIPPING into something else the site does not work anymore. So what can I do to change it? I don't know much about php scripts so I don't know what it means really. But I really need to have "payments" there instead of "shipping" ;)

 

Thank you so much for your help. I know I'm a little stupid about that :rolleyes:

Posted

Complete instructions for adding additional pages with links from the information box can be found HERE

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Posted
Complete instructions for adding additional pages with links from the information box can be found HERE

 

 

THANK YOU!! :D

Posted

Another little problem:

 

"Now it is time to define this new page called about_us.php so in catalog/includes/filenames.php copy one of the defines, paste it underneath or at the bottom of the file, and change the name to your new about_us.php file like this"

 

 

BUT there is not filenames.php in my catalog, nowhere. :( What can I do? Thank you!

Posted
Another little problem:

 

"Now it is time to define this new page called about_us.php so in catalog/includes/filenames.php copy one of the defines, paste it underneath or at the bottom of the file, and change the name to your new about_us.php file like this"

BUT there is not filenames.php in my catalog, nowhere. :( What can I do? Thank you!

 

 

 

ahh problem solved. I found it at apllication_top.php THANKS!

Archived

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

×
×
  • Create New...