I have a set menu item type: list all Categories. Module with this menu item I have in the sidebar. In other menu items displayed module, and when the menu item "lists all categories" - does not appear.
There is a setting to display a sidebar?
<?php if($this->API->modules('sidebar') && $item_id != $error_item_id && !$com_k2_page && !$com_content_page) : ?>
<?php if($this->API->modules('sidebar') && $item_id != $error_item_id) : ?>
teitbite wrote:
Mysle, ze mozemy tu kontynuowac po Polsku, zeby lepiej zrozumiec problem i szybciej go rozwiazac.
if(
JRequest::getCmd('option') == 'com_content' &&
JRequest::getCmd('view') == 'category'
) {
$com_content_page = false;
}
div[data-sidebar-pos="right"] #gkContent {
width: 66%;
}
if(
JRequest::getCmd('option') == 'com_content' &&
JRequest::getCmd('view') == 'category'
) {
$com_content_page = false;
$this->page_suffix .= ' has-sidebar';
}
.has-sidebar div[data-sidebar-pos="right"] #gkContent {
width: 66%;
}
.has-sidebar #gkHeader {
min-height: 110px;
}