Hey everyone,
www.royal-fleur.com
I would to have a specific sideboxe appear on one specific page only.
I would like to have blank_sideboxe to appear only on www.royal-fleur/forist-sa-rafael-ca page only.
I look thru the forum and tried a few things but no luck. All i Found mostly was for ez page...
I tried the following code in modules/sideboxe/blank_sideboxe.php:
// test if box should display
$show_blank_sidebox = true;
if (in_array($_GET['main_page'], array(FILENAME_SAN_RAFAEL))) {
$show_blank_sidebox = true
} else
$show_blank_sidebox = false
if ($show_blank_sidebox == true) {
require($template->get_template_dir('tpl_blank_sidebox.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_blank_sidebox.php');
$title = BOX_HEADING_BLANK_SIDEBOX;
$title_link = false;
require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default);
}
?>
but it make the whole website disappear when i turn the sideboxe on. Only the header shows up
Please help me with this as I am a newbie when it comes to php programming
Thank you in advance


Reply With Quote

