I am having a hard time to make this function work. Previously I had added
a line to the stylesheet.css to call for the header image for the #logoWrapper{.
After reviewing the default template, maybe removing might solve some of my problem? heres the code in the css i have:```
#headerWrapper, #contentMainWrapper, #logoWrapper, #cartBoxListWrapper, #ezPageBoxList, #cartBoxListWrapper ul, #ezPageBoxList ul, #mainWrapper, #popupAdditionalImage, #popupImage {
margin: 0em;
padding: 0em;
}
#logoWrapper{
background-image: url(../images/header_bg.jpg);
background-repeat: repeat-x;
background-color: #ffffff;
height:170px;
}
On my tpl_header file I changed the line as desrcibed heres what I have:
<?php if (HEADER_SALES_TEXT != '' || (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2))) { ?>
<?php
if (HEADER_SALES_TEXT != '') {
?>
<?php
}
?>
<?php
if (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2) && $this_is_home_page) {
if ($banner->RecordCount() > 0) {
?>
<span class="banners"><?php echo zen_display_banner('static', $banner);?>
<?php
}
}
?>
<?php } // no HEADER_SALES_TEXT or SHOW_BANNERS_GROUP_SET2 ?>
And on my tpl_main_page it doesnt mention set2 at all, heres what I have:
$header_template = 'tpl_header.php';
$footer_template = 'tpl_footer.php';
$left_column_file = 'column_left.php';
$right_column_file = 'column_right.php';
$body_id = ($this_is_home_page) ? 'indexHome' : str_replace('_', '', $_GET['main_page']);
?>
<body id="<?php echo $body_id . 'Body'; ?>"<?php if($zv_onload !='') echo ' onload="'.$zv_onload.'"'; ?>>
<?php
if (SHOW_BANNERS_GROUP_SET1 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET1)) {
if ($banner->RecordCount() > 0) {
?>
<div id="bannerOne" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
<?php
}
}
?>
```
Any help figuring out why Im not successful getting this to work would be greatly appreciated!
Heres a link the to site in progress...
http://www.citysatchel.com/zen-cart/index.php?main_page=index
My eyes are swimming....all I'm trying to do is have a different banner on the home page than the other pages....:frusty: