Hi Linda
I think this is probably beyond my capability as an amature but I hate to throw in the towel.
the empty php file is like this:
FILE 1 (includes\languages\english\extra_definitions):
<?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_DYNAMIC_CATEGORIES_SIDEBOX', 'Filtered Categories');
define('TEXT_DYNAMIC_CATEGORIES_SIDEBOX', 'HTML ONLY');
?>
FILE 2(includes\modules\sideboxes):
<?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_dynamic_categories_sidebox = true;
if ($current_category_id == 18 or $current_category_id == 202 or $current_category_id == 203 or $current_category_id == 204 or $current_category_id == 205 or $current_category_id == 206 or $current_category_id == 207 or $current_category_id == 208 or $current_category_id == 209 ) {
require($template->get_template_dir('tpl_dynamic_categories_sidebox.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_dynamic_categories_sidebox.php');
$title = BOX_HEADING_DYNAMIC_CATEGORIES_SIDEBOX;
$title_link = false;
require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default);
}
?>
FILE 3(includes\templates\template_default\sideboxes):
<?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 .= '<h1>' . TEXT_DYNAMIC_CATEGORIES_SIDEBOX . '</h1>';
?>
Not sure exactly where to begin. I thought initially that I'd have been able to manipulate FILE1 between the apostrophes but that's just for HTML content. I wouldn't have a clue how to change the content of the box so that it would show only specific categories (a sort of miniature version of the main categories sidebox but with only specific categories relating to the current category_id)....
If this is too difficult to talk me through then I totally understand, I've taken so much of your time already.