I'm trying to add a new sidebox to my page on the left side, in between categories and information.
http://kamskungfucinema.com/zencart/
I added this file to /includes/templates/my template/sideboxes/
<?php
/**
* Side Box Template
*
*/
$content = 'Check It Out!';
?>
Then, I added this to /includes/modules/sideboxes
<?php
/**
* check it out sidebox - used to display news to customers in a sidebox
*
*/// test if box should display
$show_welcome = true;if ($show_welcome == true) {require($template->get_template_dir('tpl_welcome.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_welcome.php');$title = BOX_HEADING_WELCOME;
$title_link = false;
require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default);
}
?>
But whenever I got to my admin to turn it on it just screws up my page, and no sidebox
Did I do something wrong?



Reply With Quote
