Thanks for catching the fact that I needed to remove 'the' from the code.
I have removed that, and continue to have no luck displaying the banners only on the home page.
So, I am looking at the name in the code:
if (SHOW_BANNERS_GROUP_SET1 != '' && $this_is_home_page && $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
}
}
?>
<!--eof banners display-->
I am looking at the names of my groups in the zen cart admin area, and this is what I see:
The names of my banners groups are header-banner, header-banner2, header-banner3 and header-banner4. The name of the div is BannerOne for all 4 banners when I look at the source code. If this is the case, how should I word my code in the tpl_main_page ?
Thanks,
Julia