Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / How to add more SideBox-Banners?

How to add more SideBox-Banners?

Views: 2,758

Results 1 to 11 of 11
20 Feb 2013, 8:51 AM
#1
zihaizi avatar

zihaizi

New Zenner

Join Date:
Jul 2009
Posts:
28
Plugin Contributions:
0

How to add more SideBox-Banners?

Hey Talents,
I want to add more than one SideBox-Banners on my left side bar.
But it seems I can only show one per time.
Anyone know how to do that?
Currently, there are three "SideBox-Banners " in zencart defult system.
How can I show them all in my left side? Because I want to create a sponsers list of affiliate brands.
https://www.artwallets.com is my site.
Thank you so much!

20 Feb 2013, 10:13 AM
#2
stevesh avatar

stevesh

Black Belt

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

Re: How to add more SideBox-Banners?

You can move/activate sideboxes, including banner sideboxes, in Admin - Tools - Layout Boxes Controller. There must be an image or HTML copy in the banner before it will appear.

20 Feb 2013, 10:24 AM
#3
zihaizi avatar

zihaizi

New Zenner

Join Date:
Jul 2009
Posts:
28
Plugin Contributions:
0

Re: How to add more SideBox-Banners?

stevesh:

You can move/activate sideboxes, including banner sideboxes, in Admin - Tools - Layout Boxes Controller. There must be an image or HTML copy in the banner before it will appear.

Thanks for your reply.
It's appear now, but I want all 3 banners appear there, but currently, it only shows one. How to make all three and more banners show on the left side bar? Many thanks.

20 Feb 2013, 2:21 PM
#4
stevesh avatar

stevesh

Black Belt

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

Re: How to add more SideBox-Banners?

I'm seeing one banner sidebox on your site, 'bannerbox', wth the Sponsors header. Do you want yet another separate sidebox with a different header, or a different ad to display in that one sometimes ?

21 Feb 2013, 7:15 AM
#5
zihaizi avatar

zihaizi

New Zenner

Join Date:
Jul 2009
Posts:
28
Plugin Contributions:
0

Re: How to add more SideBox-Banners?

stevesh:

I'm seeing one banner sidebox on your site, 'bannerbox', wth the Sponsors header. Do you want yet another separate sidebox with a different header, or a different ad to display in that one sometimes ?

Thanks for your reply.
Yes, now there is one banner appear on my site left side bar. But I need 3 banners appear there at the same time, is that possible to do that?
Many thanks.

21 Feb 2013, 7:48 AM
#6
philip937 avatar

philip937

Totally Zenned

Join Date:
Aug 2009
Location:
Bedford, England
Posts:
968
Plugin Contributions:
0

Re: How to add more SideBox-Banners?

zihaizi:

Thanks for your reply.
Yes, now there is one banner appear on my site left side bar. But I need 3 banners appear there at the same time, is that possible to do that?
Many thanks.

Look on the downloads section for a mod called blank sidebox (or something like that) it gives you a template to be able to create your own side boxes Nd as many as you like.
Note these side boxes are coded though an only turned on and off in the admin so you will need to know what you are doing otherwise get someone else to code them for you.

Setting up is pretty easy you just change all references to BLANK_SIDEBOX to what ever you decide to call it like ADVERT_SIDEBOX.

Just make sure you keep case sensitive and use find and replace within the files.

File names Also have to be changed.

The instructions are pretty simple o follow anyway.

Good luck :-)

22 Feb 2013, 1:44 AM
#7
ajeh avatar

ajeh

Oba-san

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

Re: How to add more SideBox-Banners?

On those 3 banners, do you want the three banners in the same sidebox?

I am not sure if you have tried the banner box for:
sideboxes/banner_box_all.php

that allows multiple banners to appear at the same time in the same sidebox ...

Perhaps that is something that can help you out on this ... :lookaroun

22 Feb 2013, 10:30 AM
#8
zihaizi avatar

zihaizi

New Zenner

Join Date:
Jul 2009
Posts:
28
Plugin Contributions:
0

Re: How to add more SideBox-Banners?

Ajeh:

On those 3 banners, do you want the three banners in the same sidebox?

I am not sure if you have tried the banner box for:
sideboxes/banner_box_all.php

that allows multiple banners to appear at the same time in the same sidebox ...

Perhaps that is something that can help you out on this ... :lookaroun

Thanks for your attention.
Could I know how to modify this php file?
Or is this something that can configure in admin?

22 Feb 2013, 2:15 PM
#9
ajeh avatar

ajeh

Oba-san

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

Re: How to add more SideBox-Banners?

Did you try adding three banners to the Banners All sidebox?

Go to Tools ... Banner Manager ... and click INSERT ...

Fill in the information for:

Banner Status: YES
Banner New Window No (use Yes if you want to have the banner lead to another site)
Banner on SSL YES (use NO if the image cannot or should not display on secure pages)
Banner Title: My Banner 1 (or some title for banner 1 of 3 banners)
Banner URL: google.com (or an internal link for example: /yourcatalog/index.php?main_page=shippinginfo to have a click on the banner go to the Shipping Info page)
Banner Group: BannersAll (or something for the 3 banners and remember the name you use, NOTE: once the name exists, you can select it in the future from the dropdown)
Image: (browse for the image to use for the banner)
Image Target (Save To): banners/ (to have your image go into the directory /images/banners)

And repeat this for your three banner ...

Next, go to the Configuration ... Layout Settings ...

Find the setting for:

Banner Display Group - Side Box banner_box_all

Enter the Banner Group Name that you used, such as: BannersAll

and update the setting ...

Now go to the Tools ... Layout Boxes Controller ... and turn on the sidebox for Banners ALL ...

Check your site and refresh, and you should now see your 3 banners in 1 sidebox ...

27 Feb 2013, 9:51 AM
#10
zihaizi avatar

zihaizi

New Zenner

Join Date:
Jul 2009
Posts:
28
Plugin Contributions:
0

Re: How to add more SideBox-Banners?

Ajeh:

Did you try adding three banners to the Banners All sidebox?

Go to Tools ... Banner Manager ... and click INSERT ...

Fill in the information for:

And repeat this for your three banner ...

Next, go to the Configuration ... Layout Settings ...

Find the setting for:

Enter the Banner Group Name that you used, such as: BannersAll

and update the setting ...

Now go to the Tools ... Layout Boxes Controller ... and turn on the sidebox for Banners ALL ...

Check your site and refresh, and you should now see your 3 banners in 1 sidebox ...

OMG, thank you so very much!
That's exact what I want.
http://www.artwallets.com/index.php?main_page=index&cPath=7
You can see now there are two affiliate banners on the left side and I gonna insert more!
Thank you so much for the instructions!!

27 Feb 2013, 2:23 PM
#11
ajeh avatar

ajeh

Oba-san

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

Re: How to add more SideBox-Banners?

Thanks for the update that the Banners All sidebox was able to manage multiple banners for display at the same time as designed and that you now have this working ... :smile: