Page 7 of 10 FirstFirst ... 56789 ... LastLast
Results 61 to 70 of 98
  1. #61
    Join Date
    Sep 2008
    Location
    North Highlands, California 95660
    Posts
    286
    Plugin Contributions
    1

    Default Re: creinold Pinterest Button Addon

    opps I forgot to strip the html from the description... here the correct code:

    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.) -->
    http://www.sidewalkstyles.com Comfort Footwear, Accessories and More.
    creinold SBA with Dynamic Drop Downs latest Alpha release: http://www.sidewalkstyles.com/creino...art_V1.5.0.zip

  2. #62

    Default Re: creinold Pinterest Button Addon

    Quote Originally Posted by creinold View Post
    opps I forgot to strip the html from the description... here the correct code:

    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.) -->
    Now the image doesn't work. lol

  3. #63
    Join Date
    Sep 2008
    Location
    North Highlands, California 95660
    Posts
    286
    Plugin Contributions
    1

    Default Re: creinold Pinterest Button Addon

    Okay try this now:

    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 $pt_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.) -->
    http://www.sidewalkstyles.com Comfort Footwear, Accessories and More.
    creinold SBA with Dynamic Drop Downs latest Alpha release: http://www.sidewalkstyles.com/creino...art_V1.5.0.zip

  4. #64
    Join Date
    Sep 2008
    Location
    North Highlands, California 95660
    Posts
    286
    Plugin Contributions
    1

    Default Re: creinold Pinterest Button Addon

    I also don't see this in your codes/ Make sure it's added to the jscript_main.php

    Code:
    <?php
    if (isset($_GET['products_id'])) { // use products_image if products_id exists
    $pinterest_image = $db->Execute("select p.products_image from " . TABLE_PRODUCTS . " p where products_id='" . (int)$_GET['products_id'] . "'");
    $pt_image = HTTP_SERVER . DIR_WS_CATALOG . DIR_WS_IMAGES . $pinterest_image->fields['products_image'];
    }
    ?>
    http://www.sidewalkstyles.com Comfort Footwear, Accessories and More.
    creinold SBA with Dynamic Drop Downs latest Alpha release: http://www.sidewalkstyles.com/creino...art_V1.5.0.zip

  5. #65
    Join Date
    Sep 2008
    Location
    North Highlands, California 95660
    Posts
    286
    Plugin Contributions
    1

    Default Re: creinold Pinterest Button Addon

    I think something is wrong with the pintrest servers. Nothing loading even on my site were it works... Hmmm
    http://www.sidewalkstyles.com Comfort Footwear, Accessories and More.
    creinold SBA with Dynamic Drop Downs latest Alpha release: http://www.sidewalkstyles.com/creino...art_V1.5.0.zip

  6. #66

    Default Re: creinold Pinterest Button Addon

    Quote Originally Posted by creinold View Post
    I think something is wrong with the pintrest servers. Nothing loading even on my site were it works... Hmmm
    I changed the code above and I made sure the code was in my jscript_main.php. I don't know if the pintrest servers are still down but I don't see my description and image yet. I am going to be gone for the day but will check back once I am home. Thanks again!

  7. #67

    Default Re: creinold Pinterest Button Addon

    Okay just got home and noticed that the image and description doesn't show up at all. Not sure if pintrest servers are still down but that's where I am at.

  8. #68
    Join Date
    Sep 2008
    Location
    North Highlands, California 95660
    Posts
    286
    Plugin Contributions
    1

    Default Re: creinold Pinterest Button Addon

    Just found out Pinterest update the codes. So now my codes will have to be update also. So tomorrow I will update to the newest codes. Geez you think they keep some kind of backward compatibility at least...
    http://www.sidewalkstyles.com Comfort Footwear, Accessories and More.
    creinold SBA with Dynamic Drop Downs latest Alpha release: http://www.sidewalkstyles.com/creino...art_V1.5.0.zip

  9. #69

    Default Re: creinold Pinterest Button Addon

    Quote Originally Posted by creinold View Post
    Just found out Pinterest update the codes. So now my codes will have to be update also. So tomorrow I will update to the newest codes. Geez you think they keep some kind of backward compatibility at least...
    Yeah you would think they would.

  10. #70
    Join Date
    Jan 2009
    Posts
    2
    Plugin Contributions
    0

    Default Re: creinold Pinterest Button Addon

    I added your code to our shopping cart and although it is working somewhat I have a few questions. The "Pin It" words are showing up on each product but not the PinIt image like on your page. Also, the link on the URL stops after "/index.php?main_page=product_info&" so it cuts off the end of my URL and then when posted on pinterest.com it does not have the correct link.

    http://www.fishid.com/nwp/index.php?...&products_id=1

    Thanks, Eric

 

 
Page 7 of 10 FirstFirst ... 56789 ... LastLast

Similar Threads

  1. v139f Need help with my social icons pinterest button
    By ffdotnet in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 26 Jan 2013, 03:14 PM
  2. v150 Ultimate-SEO addon conflicting with CSS-Button addon
    By Rony in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 16 Jan 2013, 08:06 PM
  3. v139h Pinterest Pinit Button (Numinix)
    By enchanted1 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 7 Sep 2012, 02:42 PM
  4. Move my Pinterest "pin it" button
    By Terrill_Taylor in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 11 Feb 2012, 04:06 PM
  5. adding a class to button element - CSS button addon
    By australican in forum Addon Templates
    Replies: 3
    Last Post: 26 May 2010, 08:53 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR