@Conor
Thank you for your answer.
Let me try to explane...
This is the code of side box that should show only in category "sec"
<?php
// test if box should display
$show_sec_sidebox = true;
if ($show_sec_sidebox == true) {
if ($current_page_base == 'index' and $cPath == '3'){
require($template->get_template_dir('tpl_sec_sidebox.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_sec_sidebox.php');
$title = BOX_HEADING_SEC_SIDEBOX;
$title_link = false;
require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default);
}}
?>
When I disable the ceon_uri_mapping I have side box "sec" in category 3 listing. When ceon_uri_mapping is enabled side box "sec" disappears.
In other boxes I have links, pointing to few categories in format like index.php?main_page=index&cPath=3. I don't have problems with this links.
Should I change $cPath == '3' with $_GET['cPath']?
Bookmarks