Jeesh....Thanks for this Kobra, the only problem is there is so much to choose from, any recommendations from other which one i should pick? I just want to have simple myspace and facebook icons on the sidebar
There are sone with sites as examples
http: //www.lfswear.com/
Zen-Venom Get Bitten
i'm sorry man, didn't want to annoy you with a simple question.. i only wanted to know if there were some user experiences with some plugins listed there
and this one
facebook twitter module in the downloads section.
Granted some do not have good descriptionsOriginally Posted by grasmat
But also, some have sites as examples if one take the time to read
Zen-Venom Get Bitten
Gettings;
Great mod, however there are some issues,
The image location need to be fixed, instead ofit should beCode:images/social/fb.pngand the same with the twitter image.Code:images/fb.png
Also there is no headings on the box themselves.
I am modify the mod so that you have headings and alike, however cant seem to get the heading working, anyone know what is wrong with it ?
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 $ */ // test if box should display $show_social = true; if ($show_social == true) { $title = BOX_HEADING_SOCIAL; $title_link = false; require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default); } ?> <tr> <td> <center> <div id="Facebook"> <div <a href="http://www.facebook.com/pages/Delights-of-the-Flesh/147018598659118?sk=wall"><img src="images/fb.png" width="50" height="50" alt="Facebook" /></a> <a href="http://twitter.com/YOUR-TWITTER-HERE"><img src="images/tw.png" width="50" height="50" /></a></div> </div> </center> </td> </tr>
Have you defined BOX_HEADING_SOCIAL in the module or defines file?
And there is no reason to need table or center code in there; you especially should not have incomplete table code (missing the containing <table> and <tbody> tags).
Just noticed you are missing the closing > here:
<div <a href="http://
<div> <a href="http://
Last edited by gjh42; 17 Apr 2011 at 01:19 PM.
Or really, that <div is extra and needs to be removed.
Greetings;
Yea i added the following to extra_definitions
Also changed the Sidebox file to the following;Code:<?php /** * blank sidebox definitions - text for inclusion in a new blank sidebox * * @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 $ */ define('BOX_HEADING_SOCIAL', 'Enter Heading Here'); define('TEXT_SOCIAL', 'Replace this text with your HTML content.'); ?>
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 $ */ // test if box should display $show_social = true; if ($show_social == true) { $title = BOX_HEADING_SOCIAL; $title_link = false; require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default); } ?> <tr> <td> <center> <div id="Facebook"> <a href="http://www.facebook.com/pages/The-Esoteric-Emporium/145421388812693?sk=wall"><img src="images/fb.png" width="50" height="50" alt="Facebook" /></a> <a href="http://twitter.com/YOUR-TWITTER-HERE"><img src="images/tw.png" width="50" height="50" /></a></div> </div> </center> </td> </tr>
Last edited by Delights; 17 Apr 2011 at 01:55 PM.