Forums / All Other Contributions/Addons / Need product_info.css for the Bookmarking Widget

Need product_info.css for the Bookmarking Widget

Views: 1,934

Results 1 to 8 of 8
22 Jan 2013, 4:29 PM
#1
clriding avatar

clriding

New Zenner

Join Date:
Feb 2012
Posts:
53
Plugin Contributions:
0

Need product_info.css for the Bookmarking Widget

Hi

I've installed the module Zen Bookmarking Widget. It provides two pieces of code to be input into files:

               **product_info.css **and **tpl_product_info_display.php**

Now I've been able to do this for the latter, however, I do not have the product_info.css file and can't seem to find it anywhere. I've also checked the files in the latest Zen version.

This is a link to my product page and as you can see, having added the piece of code to the tpl_product_info_display has added the word 'ShareIt' and I assume the widget icons will appear once I have this product_info.css file and the code added to it: http://gifts-and-collectables.biz/index.php?main_page=product_info&cPath=198&products_id=1708

Can anyone point me in the right direction please? I am not clear on how or what I would put into a css file if I created it myself and there must be a version for me to use? I hope :/

Thanks in advance.

Regards
Claire

My Online shop, thanks to Zen Cart is https://lovely-gifts.co.uk

22 Jan 2013, 4:57 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Need product_info.css for the Bookmarking Widget

It looks like you'll need to create product_info.css (using a text editor) and put it in your template's css folder.Then paste the code from the mod into it.

22 Jan 2013, 5:18 PM
#3
dw08gm avatar

dw08gm

Totally Zenned

Join Date:
Sep 2008
Location:
DownUnder, overlooking South Pole.
Posts:
1,018
Plugin Contributions:
2

Re: Need product_info.css for the Bookmarking Widget

Samples of product_info.css can be found in the several Product Info mods by the late and great ClydeJones, although the mods are dated.

22 Jan 2013, 5:30 PM
#4
clriding avatar

clriding

New Zenner

Join Date:
Feb 2012
Posts:
53
Plugin Contributions:
0

Re: Need product_info.css for the Bookmarking Widget

Hi ya

Thanks to you both for a really fast reply. I feel daft now as I've done what you have both suggested and resolved the issue!

Thanks to you both. :)

Regards

Claire

My Online shop, thanks to Zen Cart is https://lovely-gifts.co.uk

22 Jan 2013, 5:46 PM
#5
clriding avatar

clriding

New Zenner

Join Date:
Feb 2012
Posts:
53
Plugin Contributions:
0

Re: Need product_info.css for the Bookmarking Widget

Hey again, I've another issue regarding the share link for Twitter. This is the code from the tpl_product_info_display file:

<!-- Twitter --> <a class='twitter' href="http://twitter.com/share/?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'])); ?>&title=<?php echo $products_name; ?>" rel='external nofollow' target='_blank' title='Tweet this :>'/>

Now it does go through to Twitter and add the tweet but the page link you are tweeting, does not work properly, when I clicked the link from my Twitter account, it went through to a page saying 'Sorry, the product not found' rather than referring them back to the product page. http://gifts-and-collectables.biz/index.php?main_page=product_info&cPath=198&products_id=1708

I'm not sure how to rectify this, can you advise or give me pointers? It's so much appreciated.

Thanks

My Online shop, thanks to Zen Cart is https://lovely-gifts.co.uk

22 Jan 2013, 5:48 PM
#6
clriding avatar

clriding

New Zenner

Join Date:
Feb 2012
Posts:
53
Plugin Contributions:
0

Re: Need product_info.css for the Bookmarking Widget

dw08gm:

Samples of product_info.css can be found in the several Product Info mods by the late and great ClydeJones, although the mods are dated.

Thanks, I'll be sure to check them out. :)

My Online shop, thanks to Zen Cart is https://lovely-gifts.co.uk

22 Jan 2013, 6:01 PM
#7
clriding avatar

clriding

New Zenner

Join Date:
Feb 2012
Posts:
53
Plugin Contributions:
0

Re: Need product_info.css for the Bookmarking Widget

clriding:

Hey again, I've another issue regarding the share link for Twitter. This is the code from the tpl_product_info_display file:

<!-- Twitter --> <a class='twitter' href="http://twitter.com/share/?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'])); ?>&title=<?php echo $products_name; ?>" rel='external nofollow' target='_blank' title='Tweet this :>'/>

Now it does go through to Twitter and add the tweet but the page link you are tweeting, does not work properly, when I clicked the link from my Twitter account, it went through to a page saying 'Sorry, the product not found' rather than referring them back to the product page. http://gifts-and-collectables.biz/index.php?main_page=product_info&cPath=198&products_id=1708

I'm not sure how to rectify this, can you advise or give me pointers? It's so much appreciated.

Thanks

This was the original: <a class='twitter' href="http://twitthis.com/twit?url= - however, it just gave me an error page when clicked the twitter button, showing an error 500. By changing the url to twitter.com/share, it added it to my twitter but as stated, the page link then is incorrect.

My Online shop, thanks to Zen Cart is https://lovely-gifts.co.uk

22 Jan 2013, 6:59 PM
#8
clriding avatar

clriding

New Zenner

Join Date:
Feb 2012
Posts:
53
Plugin Contributions:
0

Re: Need product_info.css for the Bookmarking Widget

Ok, I've got rid of the zen social bookmarking widget as I couldn't resolve the error with the links once shared on twitter and facebook etc. I have got my codes from: http://sharethis.com/#sthash.vWN5BlOI.dpbs. I pasted the applicable code where I wanted my buttons to show up on the products pages, I then added the code into the html_header.php file, just before the closing </head> tag. It's worked a treat. Therefore, no module needed!

My Online shop, thanks to Zen Cart is https://lovely-gifts.co.uk