Make a copy of includes/modules/sideboxes/information.php and modify so the content is this:
Code:
$define_my_sidebox = zen_get_file_directory(DIR_WS_LANGUAGES . $_SESSION['language'] . '/html_includes/', FILENAME_DEFINE_MY_SIDEBOX, 'false');
if (filesize($define_my_sidebox) > 0) {
require($template->get_template_dir('tpl_my_sidebox.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_my_sidebox.php');
$title = BOX_HEADING_MY_SIDEBOX;
$left_corner = false;
$right_corner = false;
$right_arrow = false;
$title_link = false;
require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default);
}
save the modified file as includes/modules/sideboxes/my_sidebox.php
Now make a copy of includes/templates/template_default/sideboxes/information.php and change the content to be just this:
Code:
$content = require($define_my_sidebox);
Add the sidebox heading define to your english.php:
Code:
define(BOX_HEADING_MY_SIDEBOX,'your heading text');
Create the file for the defined content: includes/languages/english/html_includes/define_my_sidebox.php (make sure when you upload it to your server that the properties are set to 777 so you can modify it from Admin with the define pages editor)
and the last thing: create a new file includes/extra_datafiles/my_sidebox_filenames.php with this content:
Code:
<?php
define(FILENAME_DEFINE_MY_SIDEBOX,'define_my_sidebox');
?>
Bookmarks