Hi Guys,
First post so hello to all.
I have installed this mod and it works well.
I decided to install a second sidebox. As far as I can tell I have followed the instructions carefully. I know this has been done to death but I have read every post on this thread and can't seem to sort it.
Maybe I just can't see the wood for the trees.
I have used the _2 added to all the instances for the file edits, both the files themselves and within. I get the second side box no problem. I just can't seem to get it's contents to show.
I think the issue is somewhere in this file:
<?php
/**
* editable sidebox - allows an admin-editable 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-08-10 kuroi $
*/
// test if box should display
$show_editable_sidebox_2 = true;
$define_sidebox_2 = zen_get_file_directory(DIR_WS_LANGUAGES . $_SESSION['language'] . '/html_includes/', DEFINE_EDITABLE_SIDEBOX**_2**_NAME, 'false');
if ($show_editable_sidebox_2 == true) {
require($template->get_template_dir('tpl_editable_sidebox_2.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_editable_sidebox_2.php');
$title = BOX_HEADING_EDITABLE_SIDEBOX_2;
$title_link = false;
require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default);
}
?>
If I remove the _2 I get the contets of the box of the original sidebox, which I would expect. If I include the _2 as in the above, I losed the content of the sidebox altogher as well as the sidebox text area.
Appreciate any advice.
Thanks
Dave.