I need to have a particular sidebox only show on one EZ page.
main_page=page&id=25&chapter=0
This is what I came up with by searching the forum, but when I use this code I get a parse error.
Could someone tell me where I've gone wrong?
Here's the current code for the includes/modules/sideboxes/mytemplate/partyplanning_links.php that I have.
Code:
if ($request_type == 'NONSSL')
if (in_array($current_page_base,explode(",",'main_page=page&id=25&chapter=0')) ) {
$show_partyplanning_sidebox = true;
} else {
$show_partyplanning_sidebox = false;
}
if ($show_partyplanning_sidebox == true) {
MAIN BLOCK
}
{
require($template->get_template_dir('tpl_partyplanning_links.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_partyplanning_links.php');
$title = BOX_HEADING_PARTYPLANNING_LINKS;
$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);
}
?>
Bookmarks