I'm trying to remove the right column from the main index page.
I have an override in place for tpl_main_page: /templates/my-template/common/tpl_main_page.php.
The original version has the following code at line 41:
Code:
// 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;
}
In my file I have changed it to:
Code:
// the following IF statement can be duplicated/modified as needed to set additional flags
if (in_array($current_page_base,explode("index",'index')) ) {
$flag_disable_right = true;
}
yet the home page still has the right column.
I've searched the forums for 3 hours and have seen a lot of potential ways to do it, but I'd like to change as little as possible, and this seems to be the way to go in the latest version.
Anyone have any ideas?
Bookmarks