Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2007
    Posts
    87
    Plugin Contributions
    0

    Default Numinix Pinterest mod

    Can someone show how to install this inline - compatible with FF and IE - with facebook, twitter, and share icons???? Here is my tpl_product_info_display.php file:

    <!-- AddThis Button BEGIN -->
    <div class="addthis_toolbox addthis_default_style">
    <!-- Pin It Button BEGIN -->
    <a class="pinitButton">
    <?php
    if (PINTEREST_BUTTON_STATUS == 'true') {
    require($template->get_template_dir('/tpl_modules_pin_it_button.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_pin_it_button.php');
    }
    ?></a>
    <!-- Pin It Button END -->
    <a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
    <a class="addthis_button_tweet"></a>
    <a class="addthis_counter addthis_pill_style"></a>



    </div>
    <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#username=xa-4cd1ec2b08cdcb12"></script>
    <!-- AddThis Button END -->



    Its not coming out right at all. For the pinitButton css I have:

    /*pininterest*/
    #pinitButton {margin-left:5em !important;}


    Can someone help??? Thanks!!!!!!!!!

  2. #2
    Join Date
    Apr 2012
    Posts
    17
    Plugin Contributions
    0

    Default Re: Numinix Pinterest mod

    I just did something similar on my site. I recommend going to www.addthis.com and selecting the buttons you want. The site allows you to fill in the information you need to link to your site. Once you have done this, go to:

    public_html/includes/templates/you_theme/common

    and add this either to your tpl_header.php or tpl_footer.php

    I hope this helps!

  3. #3
    Join Date
    Aug 2007
    Posts
    87
    Plugin Contributions
    0

    Default Re: Numinix Pinterest mod

    Quote Originally Posted by Enylred View Post
    I just did something similar on my site. I recommend going to www.addthis.com and selecting the buttons you want. The site allows you to fill in the information you need to link to your site. Once you have done this, go to:

    public_html/includes/templates/you_theme/common

    and add this either to your tpl_header.php or tpl_footer.php

    I hope this helps!

    Thanks! I saw that, but do I ignore this code? What about the mod? Thanks again!

  4. #4
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,675
    Plugin Contributions
    2

    Default Re: Numinix Pinterest mod

    I simply followed the install instructions and then pasted the code in at the top of tpl_product_info_display.php. I have it installed along with the Social Media Icons mod. Like this:

    <?php
    /**
    * Page Template
    *
    * Loaded automatically by index.php?main_page=product_info.<br />
    * Displays details of a typical product
    *
    * @package templateSystem
    * @copyright Copyright 2003-2006 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * @version $Id: tpl_product_info_display.php 16242 2010-05-08 16:05:40Z ajeh $
    */
    //require(DIR_WS_MODULES . '/debug_blocks/product_info_prices.php');
    ?>
    <div class="centerColumn" id="productGeneral">
    <!-- Pin It Button BEGIN -->
    <?php
    if (PINTEREST_BUTTON_STATUS == 'true') {
    require($template->get_template_dir('/tpl_modules_pin_it_button.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_pin_it_button.php');
    }
    ?>
    <!-- Pin It Button END -->

    <!-- bof Social Media Icons -->
    <?php
    if (SOCIAL_MEDIA_STATUS == 1) {
    if (SOCIAL_POSITION == 'top' || SOCIAL_POSITION == 'both') {
    echo '<div id="socialIcons">';
    echo social_media($products_id_current, $products_name);
    echo '</div>';
    }
    }
    ?>
    <!-- eof Social Media Icons -->

    You can see it in action here:

    http://pinupsplus.com/index.php?main...roducts_id=146
    The best way to learn is to try stuff. But, back it up first.

 

 

Similar Threads

  1. creinold Pinterest Button Addon
    By creinold in forum All Other Contributions/Addons
    Replies: 95
    Last Post: 28 Mar 2013, 04:39 PM
  2. v139f Changing "cm" to "mm" in Numinix Extra Product Fields mod
    By amirshawn80 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 28 Feb 2012, 02:21 AM
  3. 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

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
  •