Zen Follower
- Join Date:
- Mar 2006
- Location:
- Melbourne, Australia
- Posts:
- 378
- Plugin Contributions:
- 0
add new slide to front page
I raised this question some time ago, but I have no solution. I have 5 slides on my front page, each doing as they should. In admin, under Configuration, Abbington Mega, I have 5 Banner Display Groups, in where I can set which banner to display. I am assuming that if I want to have, say, 6 slides, I need to have here
Banner display Group 6
where I can indicate which banner to display as the, say, 6th slide.
Where would I add this?
I am looking at /tpl_home_slider.php, where I see this:
<?php if (SHOW_BANNERS_GROUP_SET9 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET9)) { if ($banner->RecordCount() > 0) { echo zen_display_banner('static', $banner); } } ?> <?php if (SHOW_BANNERS_GROUP_SET10 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET10)) { if ($banner->RecordCount() > 0) { echo zen_display_banner('static', $banner); } } ?> <?php if (SHOW_BANNERS_GROUP_SET11 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET11)) { if ($banner->RecordCount() > 0) { echo zen_display_banner('static', $banner); } } ?> <?php if (SHOW_BANNERS_GROUP_SET12 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET12)) { if ($banner->RecordCount() > 0) { echo zen_display_banner('static', $banner); } } ?> <?php if (SHOW_BANNERS_GROUP_SET13 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET13)) { if ($banner->RecordCount() > 0) { echo zen_display_banner('static', $banner); } } ?>So, I am also assuming that in order to add Banner Group6, I need to add something here. What do I add?
I have no problem creating a new banner group. What I cannot understand is how to link this banner group to the display of slides on the front page. I would appreciate some direction.