I found that the AkoBrowserPrefs module didn't work in Firefox. For me, that wasn't acceptable, so I did some hacking of the module and am starting to make some progress.
For example, here's what I did to make the "Bookmark Website" link work:
1) Create a JS file using the js below, call the file bookmark.js and place it in your /includes/js folder:
Code:
<script>
function bookmarksite(title, url){
if (document.all)
window.external.AddFavorite(url, title);
else if (window.sidebar)
window.sidebar.addPanel(title, url, "")
}
</script> 2) Go into /modules and open up mod_akobrowserprefs.php. Add the following line somewhere toward the top:
Code:
# Pull in javascript page
include($mosConfig_absolute_path.'/includes/js/bookmark.js');
3) Go down to this line:
Code:
# Show normal (old style) 'Add to favourites' link
if ($akobpshowfavs) {
if ($akobpimages) echo "<img src=\"".$GLOBALS['mosConfig_live_site']."/modules/mod_akobrowserprefs/abp_favs.png\" align=\"absmiddle\" hspace=\"3\" vspace=\"3\">";
echo "<a href=\"javascript:;\" onClick=\"window.external.addFavorite('".$mosConfig_live_site."', '".$mosConfig_sitename."')\">"._AKOBP_BMWS."</a><br />";
} and change it to:
Code:
# Show normal (old style) 'Add to favourites' link
if ($akobpshowfavs) {
if ($akobpimages) echo "<img src=\"".$GLOBALS['mosConfig_live_site']."/modules/mod_akobrowserprefs/abp_favs.png\" align=\"absmiddle\" hspace=\"3\" vspace=\"3\">";
echo "<a href=\"javascript:bookmarksite('".$mosConfig_sitename."', '".$mosConfig_live_site."')\">"._AKOBP_BMWS."</a><br />";
} And save...
That worked for my "Bookmark Website" link. I'm still working on the other ones to make them work and will post as I find the solutions.