Cebra:
How do I disable the footer on my homepage ONLY ie. it must not show on the homepage but on all other pages?
Web address is https://www.cebraonline.co.uk (footer currently shows" contact us" faqs" delivery & returns" and so forth...).
open includes/templates/YOUR_TEMPLATE/common/tpl_main_page.php
find the following section of 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;
}
Just above this add the following code:
if ($this_is_home_page) {
$flag_disable_footer = true;
}
NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.