Im working with a template and I have in Config - Layout Settings - Banner Display Group - Header Position 1, I selected banner1 but nothing appears in the location. Needing some help with managing the placement of my banners.
Im working with a template and I have in Config - Layout Settings - Banner Display Group - Header Position 1, I selected banner1 but nothing appears in the location. Needing some help with managing the placement of my banners.
If banner 1 is set on then anywhere this code is placed your banner will show
<!--bof-banner #1 display -->
<?php
if (SHOW_BANNERS_GROUP_SET5 != '' && $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-banner #1 display -->
If using a not zen cart template who knows if you have any banner code
~~~~~~~~~~~~~~~~~~~~~~~~~~
Play with it long enough and you will break it.
I have no idee how to set the banner settings in the admin section but i did create a banner for the bottom of my site, it displayed below the copyright message and i wanted it above that. I searched the forum but ebenthough the question was raised there was no answer that i found. I finally found a way to get it to show above the copyright message.
The banner showed up as banner 6 and i went into the tpl_main_page.php and moved
<!--bof- banner #6 display -->
<?php
if (SHOW_BANNERS_GROUP_SET6 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET6)) {
if ($banner->RecordCount() > 0) {
?>
<div id="bannerSix" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
<?php
}
}
?>
<!--eof- banner #6 display -->
to show up above
" <?php
/**
* prepares and displays footer output
*
*/"
then i commented out the original lines and voila the banner showed up above the copyright.
Am i messing things up here or is this the only way to get that banner to show up like that?
Thanks