Hi, I am customizing 1.3.9h - not a programmer.
The solution you offered here seems to be conflicting with the code that follows. The result is two instances of tpl_header.php loading into the header space. How do I go around this problem?
Basically, what I am trying to archive is to have one fat header loaded with multimedia on the home page and regular slim ones (as predefined in the default zen template) on all other pages.
Thank you.
####################____
<?php
/**
* prepares and displays header output
*
*/
If ($this_is_home_page) {
require($template->get_template_dir('tpl_header.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_header.php');
} Else {
require($template->get_template_dir('tpl_header2.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_header2.php');
}
if (CUSTOMERS_APPROVAL_AUTHORIZATION == 1 && CUSTOMERS_AUTHORIZATION_HEADER_OFF == 'true' and ($_SESSION['customers_authorization'] != 0 or $_SESSION['customer_id'] == '')) {
$flag_disable_header = true;
}
require($template->get_template_dir('tpl_header.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_header.php');?>