This is the code for the Footer Position 3 that is located in the:
/includes/templates/template_default/common/tpl_main_page.php
<!--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 -->
The Banner Group(s) that are set for the:
SHOW_BANNERS_GROUP_SET6
are used to run this banner set ...
You could copy this code to another position and make a new setting for:
SHOW_BANNERS_GROUP_SET9
using this, you can add it to the Configuration ... Layout Settings ...
INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) VALUES ('Banner Display Groups - Footer Position 4', 'SHOW_BANNERS_GROUP_SET9', 'Wide-Banners', 'The Banner Display Groups can be from 1 Banner Group or Multiple Banner Groups<br /><br />For Multiple Banner Groups enter the Banner Group Name separated by a colon <strong>:</strong><br /><br />Example: Wide-Banners:SideBox-Banners<br /><br />Default Group is Wide-Banners<br /><br />What Banner Group(s) do you want to use in the Footer Position 4?<br />Leave blank for none', '19', '68', '', '', now());
Then copy the code where you want it and change all of the 6's to 9's ...
<!--bof- banner #9 display -->
<?php
if (SHOW_BANNERS_GROUP_SET9 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET9)) {
if ($banner->RecordCount() > 0) {
?>
<div id="bannerSix" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
<?php
}
}
?>
<!--eof- banner #9 display -->
Then in the Configuration ... Layout Setting ... you will find the new setting for:
SHOW_BANNERS_GROUP_SET9
where you can set the Banner Group(s) ...
Linda McGrath
If you have to think ... you haven't been zenned ...
**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!