Thank you in advance for taking the time to read or respond to this thread.
So I am trying to have 4 banners on the main page of my site.
1 2 3 4
each would take up 25% of the display on the page. I have Assigned 4 banners in the banner admin.
I have created Groups Front1 front2 Front3 Front4 in the banner Manager
This is where I am a little confused. The Code Below Shows Group Set 6 through 9 and a few of the banners show up except one.
What I Don't Understand is how the banners are assigned to the code numbers?
I went to Layout Settings in Configuration and where the banners are I changed the Verbage
Banner Display Groups - Footer Position 3 front3
Banner Display Groups - Side Box banner_box front2
Banner Display Groups - Side Box banner_box2 front1
Banner Display Group - Side Box banner_box_all front4
Again I don't understand how the numbers in the code are assigned to a specific group or how I can control those numbers. based on the groups and the banner assignments.
HTML Code:
<!--bof- banner #6 display -->
<?php
if (SHOW_BANNERS_GROUP_SET6 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET6)) {
if ($banner->RecordCount() > 0) {
?>
<div class="frontcontainer">
<div id="bannerSix" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
</div>
<?php
}
}
?>
<?php
if (SHOW_BANNERS_GROUP_SET7 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET7)) {
if ($banner->RecordCount() > 0) {
?>
<div class="frontcontainer">
<div id="bannerSix" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
</div>
<?php
}
}
?>
<?php
if (SHOW_BANNERS_GROUP_SET8 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET8)) {
if ($banner->RecordCount() > 0) {
?>
<div class="frontcontainer">
<div id="bannerSix" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
</div>
<?php
}
}
?>
<?php
if (SHOW_BANNERS_GROUP_SET5 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET5)) {
if ($banner->RecordCount() > 0) {
?>
<div class="frontcontainer">
<div id="bannerSix" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
</div>
<?php
}
}
?>
<!--eof- banner #6 display -->
Bookmarks