I want to display a sidebox containing a banner on EZ Pages only. NOT everywhere else on the site. So what is the method for that?
I have this but this displays the banner everywhere else except EZ Pages
<?php if ($current_page_base != 'page') { $show_new_sidebox = true; if ($show_new_sidebox == true){ require($template->get_template_dir('tpl_venbanner_sidebox.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_venbanner_sidebox.php'); $title = BOX_HEADING_NEW_SIDEBOX; $left_corner = false; $right_corner = false; $right_arrow = false; require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default); }}?>
I've obviously tried it like this
if ($current_page_base = 'page')
But that just displays it everywhere.
I could of course use CSS but I want to avoid that if possible.