Ajeh:
It would be similar where you can setup an IF around the code, if it doesn't exist already and the $show_my_sidebox would be whatever variable you are using in that sidebox ...
if ($_GET['main_page']=='contact_us' or $_GET['main_page']=='news_archiv') {
$show_my_sidebox = false;
}
>
> For the cPath you can use:
> $_GET['cPath']
>
> For the current categories_id you can use:
> $current_category_id
huh:blush: as I am still new zenner I dont now where to start: where should I insert this code? I assume it need sto be inserted in '/templates/mytemplate/common/tpl_main_page.php'? I tryed to set this code in tpl_main_page.php
if ($_GET['main_page']=='contact_us' or $_GET['main_page']=='news_archiv') {
$show_my_sidebox = false;
}
exactly bellow this part of ocde:
the following IF statement can be duplicated/modified as needed to set additional flags
if (in_array($current_page_base,explode(",",'list_pages_to_skip_all_right_sideboxes_on_here,separated_by_commas,and_no_spaces')) ) {
$flag_disable_right = true;
}
looking like this
the following IF statement can be duplicated/modified as needed to set additional flags
if (in_array($current_page_base,explode(",",'list_pages_to_skip_all_right_sideboxes_on_here,separated_by_commas,and_no_spaces')) ) {
$flag_disable_right = true;
}
if ($_GET['main_page']=='contact_us' or $_GET['main_page']=='news_archiv') {
$show_my_sidebox = false;
}
but nothing happens. Also I tryed replacing "$show_my_sidebox = false;" with "$show_categories = false;" but still nothing changes..