If this is your first visit, check our documentation. To post, register or login.
Forums / Basic Configuration / More than 1 Banner in footer

More than 1 Banner in footer

Locked

Started by neparker on 21 Jul 2009, 5:01 PM · Views: 3,770

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
21 Jul 2009, 5:01 PM
#1
neparker avatar

neparker

New Zenner

Join Date:
Apr 2009
Posts:
79
Plugin Contributions:
0

More than 1 Banner in footer

Is it possible to make more than 1 banner show in the footer of zencart.

I want to show those small 150x50 px banners that other sites give you to track how many people visit your site, also allowing them from that site to click and go to your site. Make sense. rofl.

IF this is possible, which I know I've seen others have done, how do I set it up.

Right now, I can only get 1 to show at a time. Thanks.

23 Jul 2009, 3:31 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: More than 1 Banner in footer

You could customize the footer to use more ...

For example, if you are using the Banner for Position 2 in the footer, you will see in the file:
tpl_footer.php

<!--bof-banner #5 display -->
<?php
  if (SHOW_BANNERS_GROUP_SET5 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET5)) {
    if ($banner->RecordCount() > 0) {
?>
<div id="bannerFive" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
<?php
    }
  }
?>
<!--eof-banner #5 display -->

Customizing the code to call that group or others would allow you to have multiple banners in the footer ...

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!

11 Aug 2009, 11:48 PM
#3
kburner avatar

kburner

Totally Zenned

Join Date:
Apr 2008
Location:
Flint, Michigan
Posts:
684
Plugin Contributions:
0

Re: More than 1 Banner in footer

Ajeh:

You could customize the footer to use more ...

For example, if you are using the Banner for Position 2 in the footer, you will see in the file:
tpl_footer.php

<!--bof-banner #5 display --> <?php if (SHOW_BANNERS_GROUP_SET5 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET5)) { if ($banner->RecordCount() > 0) { ?> <div id="bannerFive" class="banners"><?php echo zen_display_banner('static', $banner); ?></div> <?php } } ?> <!--eof-banner #5 display --> ``` > > Customizing the code to call that group or others would allow you to have multiple banners in the footer ...

I would like to add more than one banner across my footer too. What do I have to do to modify the code shown? I have the same coding.

Thanks, Kim

kburner
Burner Christian Bookstore
https://www.burnerbooks.com

11 Aug 2009, 11:53 PM
#4
neparker avatar

neparker

New Zenner

Join Date:
Apr 2009
Posts:
79
Plugin Contributions:
0

Re: More than 1 Banner in footer

Thanks, I've got it figured out, I just added it all in one area. It works much better, all in once place and easier to maange. Thanks!

11 Aug 2009, 11:54 PM
#5
kburner avatar

kburner

Totally Zenned

Join Date:
Apr 2008
Location:
Flint, Michigan
Posts:
684
Plugin Contributions:
0

Re: More than 1 Banner in footer

neparker:

Thanks, I've got it figured out, I just added it all in one area. It works much better, all in once place and easier to maange. Thanks!

How did you do it?

kburner
Burner Christian Bookstore
https://www.burnerbooks.com

12 Aug 2009, 2:45 AM
#6
neparker avatar

neparker

New Zenner

Join Date:
Apr 2009
Posts:
79
Plugin Contributions:
0

Re: More than 1 Banner in footer

I created a new banner in my footer section like you normally would, then did all my html text with spaces between them. So I have 8 items in my footer section.

13 Aug 2009, 1:00 AM
#7
kburner avatar

kburner

Totally Zenned

Join Date:
Apr 2008
Location:
Flint, Michigan
Posts:
684
Plugin Contributions:
0

Re: More than 1 Banner in footer

neparker:

I created a new banner in my footer section like you normally would, then did all my html text with spaces between them. So I have 8 items in my footer section.

I went to config/tools/banner manager

I added a new banner with bannerfive. I added to html text area. It will only show one banner at a time. How did you get 8 different banners in your footer? Did you put all 8 into one?

kburner
Burner Christian Bookstore
https://www.burnerbooks.com

13 Aug 2009, 1:02 AM
#8
neparker avatar

neparker

New Zenner

Join Date:
Apr 2009
Posts:
79
Plugin Contributions:
0

Re: More than 1 Banner in footer

Yes, I put all 8 into one...

You can look at the store https://www.stufftoscrap.com/store

13 Aug 2009, 1:03 AM
#9
kburner avatar

kburner

Totally Zenned

Join Date:
Apr 2008
Location:
Flint, Michigan
Posts:
684
Plugin Contributions:
0

Re: More than 1 Banner in footer

kburner:

I went to config/tools/banner manager

I added a new banner with bannerfive. I added to html text area. It will only show one banner at a time. How did you get 8 different banners in your footer? Did you put all 8 into one?

I put both html in one add new banner. Both showed up. But, how do you know which one for banner clicks/views?

kburner
Burner Christian Bookstore
https://www.burnerbooks.com

13 Aug 2009, 1:04 AM
#10
neparker avatar

neparker

New Zenner

Join Date:
Apr 2009
Posts:
79
Plugin Contributions:
0

Re: More than 1 Banner in footer

If you do it this way, it doesn't track banner clicks, but I didn't need it to track these banner clicks.

13 Aug 2009, 1:06 AM
#11
kburner avatar

kburner

Totally Zenned

Join Date:
Apr 2008
Location:
Flint, Michigan
Posts:
684
Plugin Contributions:
0

Re: More than 1 Banner in footer

neparker:

If you do it this way, it doesn't track banner clicks, but I didn't need it to track these banner clicks.

It would be nice...but I can live with this.

Thank you for your help.

kburner
Burner Christian Bookstore
https://www.burnerbooks.com