Re: creinold Pinterest Button Addon
Quote:
Originally Posted by
creinold
addThis code: Was something I created real fast. I never tested it. You were my guinea pic... ;) LOL I need to play with it later. I don't use addThis on my site. You can remove it till I figure it out better...
to remove, delete:
HTML Code:
<a class="addthis_button_pinterest"
pi:pinit:url="<?php echo zen_href_link(FILENAME_PRODUCT_INFO); ?>"
pi:pinit:media="<?php echo HTTP_SERVER . DIR_WS_CATALOG . $products_image_medium; ?>"
pi:pinit:description="<?php echo stripslashes(strip_tags($products_description)); ?>"
pi:pinit:layout="horizontal">
my pinterest codes:
You need to put the javascript_main.php codes back in too... ;)
Thanks again for all your help! :D
Re: creinold Pinterest Button Addon
I think i know what causing the image not to show... are you using some kind of image manager?
Re: creinold Pinterest Button Addon
Quote:
Originally Posted by
creinold
I think i know what causing the image not to show... are you using some kind of image manager?
Yeah Image Handler 3.
Re: creinold Pinterest Button Addon
I will have to look into how it pulls the image file. The url to the image my sql query pulls is the standard zen cart image.
ie the url would look like this: http://frompropertorocker.com/images...etters_MED.jpg
image handler url looks more like: http://frompropertorocker.com/bmz_ca...ge.250x184.jpg
Ill have download image handler later and look into how it generates it image codes.
Re: creinold Pinterest Button Addon
Quote:
Originally Posted by
creinold
Sounds good! Thanks again!
Re: creinold Pinterest Button Addon
Also please make sure when you upload images they don't have any spaces in the name IE:
Blue Block Letters.jpg should be Blue_Block_Letters.jpg or similar....
It will mess up url coding...
Re: creinold Pinterest Button Addon
You welcome... You are almost there just got to get your images working now. =)
Re: creinold Pinterest Button Addon
Quote:
Originally Posted by
creinold
Also please make sure when you upload images they don't have any spaces in the name IE:
Blue Block Letters.jpg should be Blue_Block_Letters.jpg or similar....
It will mess up url coding...
I will fix those right away. :) Thanks for the heads up.
Re: creinold Pinterest Button Addon
Okay let see if this fixes the image issue:
change:
Code:
<!--Bof creinold Pinterest Modifications, (You can move this anywhere you like the Pin it Button to show up on Product Info page.) -->
<div id="pinterest"><a href="http://pinterest.com/pin/create/button/?url=<?php echo zen_href_link(FILENAME_PRODUCT_INFO); ?>&media=<?php echo HTTP_SERVER . DIR_WS_CATALOG . $products_image_medium; ?>&description=<?php echo stripslashes(strip_tags($products_description)); ?>" class="pin-it-button" count-layout="horizontal">Pin It</a></div>
<!--eof creinold Pinterest Modifications, (You can move this anywhere you like the Pin it Button to show up on Product Info page.) -->
to:
Code:
<!--Bof creinold Pinterest Modifications, (You can move this anywhere you like the Pin it Button to show up on Product Info page.) -->
<div id="pinterest"><a href="http://pinterest.com/pin/create/button/?url=<?php echo zen_href_link(FILENAME_PRODUCT_INFO); ?>&media=<?php echo HTTP_SERVER . DIR_WS_CATALOG . $products_image; ?>&description=<?php echo stripslashes(strip_tags($products_description)); ?>" class="pin-it-button" count-layout="horizontal">Pin It</a></div>
<!--eof creinold Pinterest Modifications, (You can move this anywhere you like the Pin it Button to show up on Product Info page.) -->
Re: creinold Pinterest Button Addon
Quote:
Originally Posted by
creinold
Okay let see if this fixes the image issue:
change:
Code:
<!--Bof creinold Pinterest Modifications, (You can move this anywhere you like the Pin it Button to show up on Product Info page.) -->
<div id="pinterest"><a href="http://pinterest.com/pin/create/button/?url=<?php echo zen_href_link(FILENAME_PRODUCT_INFO); ?>&media=<?php echo HTTP_SERVER . DIR_WS_CATALOG . $products_image_medium; ?>&description=<?php echo stripslashes(strip_tags($products_description)); ?>" class="pin-it-button" count-layout="horizontal">Pin It</a></div>
<!--eof creinold Pinterest Modifications, (You can move this anywhere you like the Pin it Button to show up on Product Info page.) -->
to:
Code:
<!--Bof creinold Pinterest Modifications, (You can move this anywhere you like the Pin it Button to show up on Product Info page.) -->
<div id="pinterest"><a href="http://pinterest.com/pin/create/button/?url=<?php echo zen_href_link(FILENAME_PRODUCT_INFO); ?>&media=<?php echo HTTP_SERVER . DIR_WS_CATALOG . $products_image; ?>&description=<?php echo stripslashes(strip_tags($products_description)); ?>" class="pin-it-button" count-layout="horizontal">Pin It</a></div>
<!--eof creinold Pinterest Modifications, (You can move this anywhere you like the Pin it Button to show up on Product Info page.) -->
Nope :(