Zencart version: 1.3.8a
PHP Version: 5.2.13 (Zend: 2.2.0)
Hi,
I have overridden the tpl_footer.php under includes/templates/<my_template>/common/
It was working perfectly until I installed categories_dressing_2-7-3. Since there are some other problems with the mod I undo all new/modified files associated with it. But then my footer no longer being displayed. I changed to classic default template and the footer does show up though.
I tried to debug the problem by echoing the following line (in red) in tpl_main_page.php where it gets the footer.php.
<?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;
}
echo DIR_WS_TEMPLATE; //<---debug
require($template->get_template_dir('tpl_footer.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_footer.php');
?>
It shows "includes/templates/<my_template>/" in the footer area of my web page. HOWEVER, if I place the same debug line AFTER the require(...) line, nothing shows.
Is it because the require(...) function failed to get my tpl_footer.php?? (I tried to debug inside tpl_footer.php and nothing shows) What can I do to fix this???
Please, any help is much appreicated!
![]()



