Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Mar 2009
    Posts
    176
    Plugin Contributions
    0

    Default Facebook Sidebox

    Version 1.3.8a

    Am wanting to add a Facebook badge and link to a new sidebox....

    <!-- Facebook Badge START --><a href="http://www.facebook.com/pages/Porthcawl-United-Kingdom/HolKat-Childrenswear/126317059707" target="_TOP" style="font-family: &quot;lucida grande&quot;,tahoma,verdana,arial,sans-serif; font-size: 11px; font-variant: normal; font-style: normal; font-weight: normal; color: #3B5998; text-decoration: none;" title="HolKat Childrenswear">HolKat Childrenswear</a><br/><a href="http://www.facebook.com/pages/Porthcawl-United-Kingdom/HolKat-Childrenswear/126317059707" target="_TOP" title="HolKat Childrenswear"><img src="http://badge.facebook.com/badge/126317059707.2645.2114170877.png" width="120" height="251" style="border: 0px;" /></a><br/><a href="http://www.facebook.com/business/dashboard/" target="_TOP" style="font-family: &quot;lucida grande&quot;,tahoma,verdana,arial,sans-serif; font-size: 11px; font-variant: normal; font-style: normal; font-weight: normal; color: #3B5998; text-decoration: none;" title="Make your own badge!">Promote Your Page Too</a><!-- Facebook Badge END -->

    How do I achieve this? thanks

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Facebook Sidebox

    Search the Free Software Add Ons for 'facebook'.

  3. #3
    Join Date
    Mar 2009
    Posts
    176
    Plugin Contributions
    0

    Default Re: Facebook Sidebox

    So many to choose from - not sure if any suit what I want. Isn't it possible just to add the html code somewhere without having to add/change files?

  4. #4
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Facebook Sidebox

    Not really. You could use the Blank Sidebox mod, but one of the Facebook mods (like this one: http://www.zen-cart.com/index.php?ma...oducts_id=1547) would do the work for you.

  5. #5
    Join Date
    Mar 2009
    Posts
    176
    Plugin Contributions
    0

    Default Re: Facebook Sidebox

    Well....in the end I just created a banner and pasted in the html.....no files to install/change.

  6. #6
    Join Date
    Apr 2007
    Location
    Tampa, Florida
    Posts
    180
    Plugin Contributions
    0

    Default Re: Facebook Sidebox

    Quote Originally Posted by stevesh View Post
    Not really. You could use the Blank Sidebox mod, but one of the Facebook mods (like this one: http://www.zen-cart.com/index.php?ma...oducts_id=1547) would do the work for you.
    Do you know anyone using this MOD?

    Thanks
    Gary

  7. #7
    Join Date
    Aug 2010
    Posts
    12
    Plugin Contributions
    0

    Default Re: Facebook Sidebox

    gprit...how did you create the banner and have it show up...I have tried and cannot get the sidebox banner to show up at all..not sure what I am missing.

    Any help would be appreciated.

    Shelley

  8. #8

    Default Re: Facebook Sidebox

    Quote Originally Posted by gxjenkins View Post
    Do you know anyone using this MOD?

    Thanks
    Gary

    Yes, you can see it on www.avotecnica.com

    It's in the left side...

  9. #9
    Join Date
    Nov 2010
    Posts
    64
    Plugin Contributions
    0

    Default Re: Facebook Sidebox

    Trying to add the Facebook Like Button code to the blank sidebox addon, but when I do, nothing shows up. Here's my code in tpl_blank_sidebox.php, is there anything wrong?:
    Code:
    <?php
    /**
     * blank sidebox - allows a blank sidebox to be added to your site
     *
     * @package templateSystem
     * @copyright 2007 Kuroi Web Design
      * @copyright Portions Copyright 2003-2007 Zen Cart Development Team
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     * @version $Id: blank_sidebox.php 2007-05-26 kuroi $
     */
    
      $content = '';
      $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">';
    
      // Replace the text and HTML tags between the apostophes on lines 19 and 20.
      // Use as many or as few lines using this model as you need for your custom content.
      // If you have a multilingual site define your text in the languages/YOUR_LANGUAGE/extra_definitions/blank_sidebox_defines.php and include it as shown in line 19.
      // If your site is monolingual, you can put the text right here as shown on line 20 (and nobody will know!)
      $content .= '<p>' . TEXT_BLANK_SIDEBOX . '</p>';
      $content .= '<div id="fb-root"></div>
    <script>(function(d, s, id) {
      var js, fjs = d.getElementsByTagName(s)[0];
      if (d.getElementById(id)) {return;}
      js = d.createElement(s); js.id = id;
      js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
      fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));</script>
    
    <div class="fb-like" data-href="http://www.mysite.com" data-send="true" data-width="250" data-show-faces="true"></div>';
    
      $content .= '</div>';
    ?>

  10. #10
    Join Date
    Sep 2011
    Posts
    40
    Plugin Contributions
    0

    Default Re: Facebook Sidebox

    This is my code for facebook sidebox (I wrote this code in languages - extra definitions - my template
    <?php
    /**
    Facebook sidebox by Neboztik
    @copyright Copyright Neboztik, 2010
    @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    **/

    define('BOX_HEADING_FACEBOOK', 'Facebook');
    define('FACEBOOK_PROFILE', 'Cristy Adi');
    define('FACEBOOK_API_KEY', '****');
    define('FACEBOOK_LOCALE', 'en_US');
    define('FACEBOOK_BOX_WIDTH', '200px');
    define('FACEBOOK_BOX_HEIGHT', '180px');

    // Show stream, facebook logo; logo and stream OFF - can be set to ON = 1 or keep OFF = 0. */
    define('INCLUDE_FACEBOOK_STREAM', '1');
    define('INCLUDE_FACEBOOK_LOGO', '1');

    //Set the number of funs to show, set to 0 to not show
    define('INCLUDE_FACEBOOK_FANS', '3');

    ?>

    My site shows it but it says "Could not retrieve id for the specified page. Please verify correct href was passed in."
    What's the problem?

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v139h Facebook Sidebox
    By sharc316 in forum General Questions
    Replies: 0
    Last Post: 8 Feb 2013, 05:06 PM
  2. Facebook sidebox -Support Thread
    By neboztik in forum Addon Sideboxes
    Replies: 31
    Last Post: 22 Jan 2013, 03:34 AM
  3. Facebook Sidebox Layout Problem
    By Higgster in forum Addon Sideboxes
    Replies: 0
    Last Post: 9 Jul 2011, 07:45 PM
  4. Facebook/Twitter images sidebox
    By dddmx3 in forum Addon Sideboxes
    Replies: 11
    Last Post: 3 Mar 2011, 05:39 PM
  5. Facebook news feed in sidebox?
    By kal130 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 15 Sep 2010, 08:08 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR