I turn off right column admin>layout settings. But is there a way to turn it off or on for a few pages only. İ.e. for main page it turned off, for another page its on. Thanks.
I turn off right column admin>layout settings. But is there a way to turn it off or on for a few pages only. İ.e. for main page it turned off, for another page its on. Thanks.
Last edited by sercan35ksk; 5 Jan 2011 at 09:17 PM.
open includes/templates/YOUR_TEMPLATE/common/tpl_main_page.php
find the following line(s) of code
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;
}
immediately after this line add the following:
if ($this_is_home_page) {
$flag_disable_right = true;
}