To show or not show something on certain pages, edit your /includes/templates/your_template/common/tpl_main_page.php.
Around line 40, find
PHP 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;
}
If you want to disable the footer on all pages except home and about us, you could turn it around like this:
PHP Code:
// the following IF statement can be duplicated/modified as needed to set additional flags
if (!in_array($current_page_base,explode(",",'home,about_us,list_pages_to_skip_all_right_sideboxes_on_here,separated_by_commas,and_no_spaces')) ) {
$flag_disable_footer = true;
}
The ! before in_array means "not".
To get the exact names to enter in the list, go to the page in question and look in the address bar at the top of the page for main_page=.
Bookmarks