
Originally Posted by
gjh42
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://
Greetings;
Yea i added the following to extra_definitions
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.');
?>
Also changed the Sidebox file to the following;
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>