New Zenner
- Join Date:
- Jan 2010
- Location:
- Ireland
- Posts:
- 88
- Plugin Contributions:
- 0
Problem with Zen Bookmarking Widget v1.0.0
Hi there,
I'm trying to use the above module on my site. There doesn't seem to be a support thread for it so apologies for asking for help here.
For anyone who's not familiar with it this mod is meant to add all the social bookmarking icons to your product info page. It only requires creating a css file with the likes of:
.zen-bookmarking a.delicious {
background-position:0px 0px;
}
.zen-bookmarking a.delicious:hover {
background-position:0px -43px;
}
.zen-bookmarking a.digg {
background-position:0px -86px;
}
.zen-bookmarking a.digg:hover {
background-position:0px -129px;
}
and to edit your tpl_product_info_display.php with the likes of:
<!--DIGG-->
<a class='digg' href="http://digg.com/submit?phase=2&url=<?php echo urlencode(zen_href_link(zen_get_info_page((int)$_GET['products_id']),'cPath='.(int)$_GET['cPath'].'&products_id=' . (int)$_GET['products_id'])); ?>" rel='external nofollow' target='_blank' title='Digg this :>'/>
in them.
Thing is, I only want to have the icons for facebook, twitter and yahoo. So I tried re-ording the code in tpl_product_info_display.php to get the ones I want first (which worked fine) and then deleted the rest that I didn't want (which didn't work fine). That caused the icons to appear in the right order but instead of stopping at yahoo, other icons still sort of appear mixed in with and hiding behind the other elements of my page.
So I deleted the css commands for those social icons but that made no difference at all.
Where am I going wrong?!?
cheers ;)