This is a fairly easy mod if you know your way around php. There really isn't much to it.
Firstly, include the following line at the start of your php file:
Code:
require('includes/application_top.php');
You need to ensure that the path to application top is relative to your file. SO if the new file you are creating is in the same folder as index.php, it is as above, however, if the store is the next level down, then you need to change it to something like "shop/includes/application_top.php"
Next is the name of the sidebox:
Code:
$sidebox_name = 'featured.php';
//which sidebox template to use:
$column_box_default='tpl_box_default_left.php';
$column_width = BOX_WIDTH_LEFT;
$language_page_directory = DIR_WS_LANGUAGES . $_SESSION['language'] . '/';
$box_id = zen_get_box_id($sidebox_name);
if ( file_exists(DIR_WS_MODULES . 'sideboxes/' . $template_dir . '/' . $sidebox_name) ) {
require(DIR_WS_MODULES . 'sideboxes/' . $template_dir . '/' . $sidebox_name);
} else {
require(DIR_WS_MODULES . 'sideboxes/' . $sidebox_name);
}
require(DIR_WS_INCLUDES . 'application_bottom.php');
All you need to do here is place this code wherever you wnat it to appear in your page. Replace featured.php for the name of your sidebox file, and your done.
That is it, nothing else.
Good luck
Absolute