Zen Cart Logo
Forums / Addon Templates / add new slide to front page

add new slide to front page

Views: 948

Results 1 to 3 of 3
16 Jun 2014, 12:39 AM
#1
godt avatar

godt

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.

16 Jun 2014, 1:44 AM
#2
godt avatar

godt

Zen Follower

Join Date:
Mar 2006
Location:
Melbourne, Australia
Posts:
378
Plugin Contributions:
0

Re: add new slide to front page

Sorry, I've put this in the wrong place somehow. Can it be moved to the Abbington Mega thread?

16 Jun 2014, 5:06 AM
#3
godt avatar

godt

Zen Follower

Join Date:
Mar 2006
Location:
Melbourne, Australia
Posts:
378
Plugin Contributions:
0

Re: add new slide to front page

Please delete this thread. It is misplaced, and has been copied to where it should be.