Maybe I'm a moron, but I can't simply get a banner to display at all. The following things are all in place and nothing shows.
1. My code (below) is from a 12leaves template and it appears in tpl_index_default.php in the centerbox area (just above boxes for New and Featured, etc., and just beneath all header and header navigation code).
2. In Tools >> Banner Manager, I uploaded an image and put it in a new banner group which I named freeship.
3. In Config >> Layout Settings, I put the group name 'freeship' in all of the locations to try to get it display, but it doesn't show up anywhere.
What am I missing?
<?php
if (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2)) {
if ($banner->RecordCount() > 0) {
?>
<div id="bannerTwo" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
<?php
}
}
?>
Bookmarks