Page 6 of 10 FirstFirst ... 45678 ... LastLast
Results 51 to 60 of 98
  1. #51
    Join Date
    Sep 2008
    Location
    North Highlands, California 95660
    Posts
    286
    Plugin Contributions
    1

    Default Re: creinold Pinterest Button Addon

    Okay. I'll figure it out. Just have to figure out how image handler 3 pulls from the bmz cache.
    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. #52

    Default Re: creinold Pinterest Button Addon

    Quote Originally Posted by creinold View Post
    Okay. I'll figure it out. Just have to figure out how image handler 3 pulls from the bmz cache.
    Sounds good!

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

    Default Re: creinold Pinterest Button Addon

    still working on the fix... sorry busy day, but I haven't forgot. =)
    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. #54

    Default Re: creinold Pinterest Button Addon

    Quote Originally Posted by creinold View Post
    still working on the fix... sorry busy day, but I haven't forgot. =)
    Not a problem! Take your time. :)

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

    Default Re: creinold Pinterest Button Addon

    try this:

    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_large; ?>&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

  6. #56

    Default Re: creinold Pinterest Button Addon

    Quote Originally Posted by creinold View Post
    try this:

    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_large; ?>&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.) -->
    Thank you but it still didn't work.

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

    Default Re: creinold Pinterest Button Addon

    Grrrr. ;)
    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

  8. #58

    Default Re: creinold Pinterest Button Addon

    Quote Originally Posted by creinold View Post
    Grrrr. ;)
    LOL! I bet you are pulling your hair out right about now.

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

    Default Re: creinold Pinterest Button Addon

    Okay lets try this... add this to the bottom of 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'];
    }
    ?>
    Then change ths in tpl_product_info_display.php:
    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($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 this:
    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($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

  10. #60

    Default Re: creinold Pinterest Button Addon

    Quote Originally Posted by creinold View Post
    Okay lets try this... add this to the bottom of 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'];
    }
    ?>
    Then change ths in tpl_product_info_display.php:
    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($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 this:
    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($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.) -->
    The image works now but my pin it button is gone and so is the description.

 

 
Page 6 of 10 FirstFirst ... 45678 ... 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