Forums / General Questions / Banner Manager

Banner Manager

Locked

Started by kitcorsa on 13 Jul 2009, 9:50 AM · Views: 838

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
13 Jul 2009, 9:50 AM
#1
kitcorsa avatar

kitcorsa

Totally Zenned

Join Date:
Feb 2007
Posts:
1,724
Plugin Contributions:
0

Banner Manager

im looking to move one of the banners that the banner manager controls to display on the homepage only and in the text area on the homepage.

i know i need to edit the tpl file for index default but what code do i need to move and where should i move the code from?? ie i cant display the banner twice so can move banner 1 etc.


13 Jul 2009, 11:05 AM
#2
kitcorsa avatar

kitcorsa

Totally Zenned

Join Date:
Feb 2007
Posts:
1,724
Plugin Contributions:
0

Re: Banner Manager

SORTED IT

using the developers tool i searched for SHOW_BANNERS_GROUP_SET2 and found it wan't used so i added the following code to my tmp for index default

<!-- bof  Banner2 -->
<?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
    }
  }
?>
<!-- Eof  Banner2 -->