
Originally Posted by
stevesh
Did you changes all instances of blanksidebox in all the mod files to blanksidebox3 ?
\includes\languages\english\extra_definitions\blank_sidebox3_define.php:
PHP 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_sidebox3.php 2007-05-26 kuroi $
*/
define('BOX_HEADING_BLANK_SIDEBOX3', 'Blank Sidebox Header');
define('TEXT_BLANK_SIDEBOX3', 'Replace this text with your HTML content.');
?>
\includes\modules\sideboxes\blank_sidebox3.php
PHP 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_sidebox3.php 2007-05-26 kuroi $
*/
// test if box should display
$show_blank_sidebox3 = true;
if ($show_blank_sidebox3 == true) {
require($template->get_template_dir('tpl_blank_sidebox3.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_blank_sidebox3.php');
$title = BOX_HEADING_BLANK_SIDEBOX3;
$title_link = false;
require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default);
}
?>
\includes\templates\template_default\sideboxes\tpl_blank_sidebox3.php
PHP 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_sidebox3.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_sidebox3_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_SIDEBOX3 . '</p>';
$content .= '<p>You can include text, links, images, HTML markup and even PHP code</p>';
$content .= '</div>';
?>
I can't find the place I've missed.. perhaps I'm not fully awake today.
Thanks for your help.
S