Forums / Templates, Stylesheets, Page Layout / adding extra images on home page - banners?

adding extra images on home page - banners?

Views: 2,300

Results 1 to 8 of 8
7 Nov 2012, 4:38 PM
#1
noyloza avatar

noyloza

New Zenner

Join Date:
Nov 2012
Posts:
66
Plugin Contributions:
0

adding extra images on home page - banners?

I would like to add two images for product specials that I can manage from my admin. Are these banners? I have one banner activated on my template, I'd like to do two more. Are banners what I need? A plugin? In wordpress this would be solved using "custom fields" or something similar

Any help is appreciated..

7 Nov 2012, 5:46 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: adding extra images on home page - banners?

Assuming you want them to appear in the center column, banners would be one way to go. Hard-coding them into define_main_page (still technically manageable from admin) would be another.

7 Nov 2012, 5:52 PM
#3
noyloza avatar

noyloza

New Zenner

Join Date:
Nov 2012
Posts:
66
Plugin Contributions:
0

Re: adding extra images on home page - banners?

stevesh:

Assuming you want them to appear in the center column, banners would be one way to go. Hard-coding them into define_main_page (still technically manageable from admin) would be another.

I can hard code them into the main page, thats fine. Right now I'm trying to use these two php statements:

<!-- BOF- BANNER #2 display -->
<?php
	if (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2)) {
		if ($banner->RecordCount() > 0) {
?>
			<div id="bannerTwo"><?php echo zen_display_banner('static', $banner);?></div>
<?php 
		}
	}
?>
<!-- EOF- BANNER #2 display -->

<!-- BOF- BANNER #3 display -->
<?php
	if (SHOW_BANNERS_GROUP_SET3 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET3)) {
		if ($banner->RecordCount() > 0) {
?>
			<div id="bannerThree"><?php echo zen_display_banner('static', $banner);?></div>
<?php 
		}
	}
?>
<!-- EOF- BANNER #3 display -->

But its not showing up with both images together for some reason... Ideas? Here is my link: http://o-pd.com/zencart/

the image on the left only shows the title, not the image once I bring in banner-3...

7 Nov 2012, 6:09 PM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: adding extra images on home page - banners?

Sorry, all I'm seeing in your center column is the slider.

Have you set the banners to display in the proper place in Admin - Configurations - Layout settings ?

7 Nov 2012, 6:15 PM
#5
noyloza avatar

noyloza

New Zenner

Join Date:
Nov 2012
Posts:
66
Plugin Contributions:
0

Re: adding extra images on home page - banners?

sorry, here is the link again. http://o-pd.com/zencart/index.php?main_page=index

For some reason, banner-3 gets duplicated... How can I stop this.

In my banner display groups I have them setup as: header position 1,2,3 each with corresponding banner-1, banner-2, banner-3...

7 Nov 2012, 6:18 PM
#6
noyloza avatar

noyloza

New Zenner

Join Date:
Nov 2012
Posts:
66
Plugin Contributions:
0

Re: adding extra images on home page - banners?

Nevermind, I think I got it. Thanks for your help either way...

7 Nov 2012, 6:22 PM
#7
noyloza avatar

noyloza

New Zenner

Join Date:
Nov 2012
Posts:
66
Plugin Contributions:
0

Re: adding extra images on home page - banners?

Can you direct me to a tutorial or add on I might use to put an email subscribe form in my footer? I can't seem to find much on this...

7 Nov 2012, 7:13 PM
#8
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: adding extra images on home page - banners?

The only plugin I know of that allows you to offer newsletter subscriptions to non-customers doesn't work with Zencart version 1.5.X.