Originally Posted by
Aetherlux
use either:
if ($_GET['cPath'
== 1_8 or $_GET['cPath'] == 1_9)
or
IF ($current_category_id=='8' or $current_category_id=='9')
I'm pretty sure you cannot use the underscores in the cPath and you do not use the apostrophes in the category_id
What exactly are you trying to achieve Aetherlux?
This is how I got it to work though:
PHP Code:
if ($current_category_id == 8 or $current_category_id == 9 or $current_category_id == 33 or $current_category_id == 34 or $current_category_id == 35 ) {
require($template->get_template_dir('tpl_lingerie_sizes_sidebox.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_lingerie_sizes_sidebox.php');
$title = BOX_HEADING_LINGERIE_SIZES_SIDEBOX;
$title_link = false;
require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default);
}
Bookmarks