Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

New link in information box does not work.


midpen

Recommended Posts

Posted

I added below in /includes/languages/english after defining:

 

define('NAVBAR_TITLE', 'Add to Your Favorites');
define('HEADING_TITLE', 'Add to Your Favorites');
define('TEXT_INFORMATION', '<span STYLE="cursor:hand;" onclick = "window.external.AddFavorite(location.href, document.title);"> Add this site to your favorites</span>');
?>

 

It only works in IE and added the current page to the favorites.

 

I want to know how it should be coded in order to work in FF as well and I only need to add the homepage to the favorites.

 

I searched in google and tried, all script code does not work.

 

Anyone could help?

 

Thanks.

Posted
<span STYLE="cursor:hand;" onclick = "window.external.AddFavorite(location.href, document.title);"> Add this site to your favorites</span>

Simply your javascript is compatible with your browser.

Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!

8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.

Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.

Any issues with oscommerce, I am here to help you.

Archived

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

×
×
  • Create New...