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.
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.
Well....in the end I just created a banner and pasted in the html.....no files to install/change.
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
Yes, you can see it on www.avotecnica.com
It's in the left side...
![]()
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>'; ?>
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?
Problem solved. You have to have a page on facebook so facebook like box plugin to work on your site.
Hi,
I have installed the facebook sidebox but cant seem to get it working. I have entered my name and page id as well as API key. then changed to stream to 1 at the bottom. All im getting is a facebook box header but no streams from page on bottom left colunm Please help.
www.bequjuice.com