If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / delete permanently footer how to do

delete permanently footer how to do

Started by giuly on 1 Jul 2016, 6:05 PM · Views: 687

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

Post #1 by giuly

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,512
Plugin Contributions:
176

Post #2 by drbyte

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

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

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

giuly

Zen Follower

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

Post #3 by 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

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

mc12345678

Totally Zenned

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

Post #4 by mc12345678

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?

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

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

drbyte

Sensei

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

Post #5 by drbyte

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.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.