Zen Cart Logo
Forums / General Questions / delete permanently footer how to do

delete permanently footer how to do

Views: 686

Results 1 to 5 of 5
1 Jul 2016, 6:05 PM
#1
giuly avatar

giuly

Zen Follower

Join Date:
May 2007
Location:
Italy
Posts:
438
Plugin Contributions:
0

delete permanently footer how to do

I need to delete footer, because I installed flexible footer menu, how can I do that?
Thanks :smile:

1 Jul 2016, 6:21 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: delete permanently footer how to do

See the call to tpl_footer found in tpl_main_page.php in your template's "common" folder.

1 Jul 2016, 9:12 PM
#3
giuly avatar

giuly

Zen Follower

Join Date:
May 2007
Location:
Italy
Posts:
438
Plugin Contributions:
0

Re: delete permanently footer how to do

thanks for reply I try to uncomment the line
//$footer_template = 'tpl_footer.php';
but footer still appears...

Have I do wrong something?
Thanks

1 Jul 2016, 10:56 PM
#4
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: delete permanently footer how to do

giuly:

thanks for reply I try to uncomment the line
//$footer_template = 'tpl_footer.php';
but footer still appears...

Have I do wrong something?
Thanks

In which file was this done? Was it in the template override version? When you say uncomment, don't you mean comment?

2 Jul 2016, 3:52 AM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: delete permanently footer how to do

giuly:

thanks for reply I try to uncomment the line
//$footer_template = 'tpl_footer.php';
but footer still appears...

Have I do wrong something?
Thanks
No. This section:```

<?php /** * prepares and displays footer output * */ if (CUSTOMERS_APPROVAL_AUTHORIZATION == 1 && CUSTOMERS_AUTHORIZATION_FOOTER_OFF == 'true' and ($_SESSION['customers_authorization'] != 0 or $_SESSION['customer_id'] == '')) { $flag_disable_footer = true; } require($template->get_template_dir('tpl_footer.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_footer.php'); ?>
But your "flexible footer" add-on should have already given you instructions on how to replace the default footer. Better to follow its instructions.