Zen Cart Logo
Forums / Basic Configuration / Banner_box and Banner_box2 displays same content... how to change?

Banner_box and Banner_box2 displays same content... how to change?

Views: 4,202

Results 1 to 14 of 14
28 Jul 2009, 4:59 PM
#1
hyperspeed avatar

hyperspeed

New Zenner

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

Banner_box and Banner_box2 displays same content... how to change?

In Layout Boxes Manager, I turned on both my banner_box and banner_box2.

I edited the individual titles to these banners in my english.php to dictate the purposes of the boxes..

but the actual problem comes with the contents.

I edited the contents of a SideBox-Banner in my Banner Manager and it changes the image of both banner_box and banner_box2, I cannot edit them individually.

I need one banner box to show a "free shipping" picture, and the other to show a "paypal" picture.

Heres my url:
https://www.neffywrap.com

TIA!

28 Jul 2009, 5:56 PM
#2
g33k_chik avatar

g33k_chik

New Zenner

Join Date:
Jun 2007
Location:
TN
Posts:
83
Plugin Contributions:
0

Re: Banner_box and Banner_box2 displays same content... how to change?

Make sure that both boxes are enabled in your layout boxes controller, under tools.

28 Jul 2009, 6:01 PM
#3
g33k_chik avatar

g33k_chik

New Zenner

Join Date:
Jun 2007
Location:
TN
Posts:
83
Plugin Contributions:
0

Re: Banner_box and Banner_box2 displays same content... how to change?

Just thought of something....since it is a banner linking to paypal (which would require ssl), that may be a reason? I am no expert by any means. But you may need to edit the field in banner manager for showing ssl. Also, make sure your status is showing as green for that banner.

28 Jul 2009, 6:09 PM
#4
hyperspeed avatar

hyperspeed

New Zenner

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

Re: Banner_box and Banner_box2 displays same content... how to change?

Thanks for the reply.

Both banners are enabled in my layout boxes controller.

The paypal picture is actually stored on my ftp, not linking to paypal so SSL is not an issue.

My main question was how do I edit the contents of banner_box and banner_box 2 individually?

Thanks!

28 Jul 2009, 6:17 PM
#5
g33k_chik avatar

g33k_chik

New Zenner

Join Date:
Jun 2007
Location:
TN
Posts:
83
Plugin Contributions:
0

Re: Banner_box and Banner_box2 displays same content... how to change?

Let me make sure I understand this correctly. You have them showing up separately in the banner manager (one says "we accept" and one says "free shipping"), but no matter which one you edit, they both show up with the paypal image?

Do I have that correct?

Have you double checked to make sure that the image url is not the same in both banners? Was the shipping image correctly uploaded to your images/ banners folder?

28 Jul 2009, 6:36 PM
#6
hyperspeed avatar

hyperspeed

New Zenner

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

Re: Banner_box and Banner_box2 displays same content... how to change?

Okay let me try redescribing haha

I have 2 banner boxes:

  1. banner_box2 (Titled Free Shipping, edited in english.php)
  2. banner_box (Titled We Accept, edited in english.php)
    Both are enabled in my Layout Boxes Controller

I need them both to display different images

  1. banner_box2 will display a pic representing free shipping
  2. banner_box will display a paypal accepted payment method pic

When I go into Banner Manager, I only have 1 active banner. It seems to control the contents of BOTH banners. When I disable the banner, both 1. and 2. disappear. When I enable it, both banners appear again.

How do I leave 2. alone, and go about editing the contents of 1. ?

Does that make more sense? Hope so. Thanks!

28 Jul 2009, 6:43 PM
#7
g33k_chik avatar

g33k_chik

New Zenner

Join Date:
Jun 2007
Location:
TN
Posts:
83
Plugin Contributions:
0

Re: Banner_box and Banner_box2 displays same content... how to change?

You said you only have one banner in your banner manager. You need to add your second banner. That would be your problem, I suspect. After you add your second banner, you can edit the image and where it will show up. Hope this has helped.

28 Jul 2009, 7:15 PM
#8
tshooters avatar

tshooters

Totally Zenned

Join Date:
Dec 2005
Posts:
1,037
Plugin Contributions:
2

Re: Banner_box and Banner_box2 displays same content... how to change?

Have you seen the tutorial here? https://www.zen-cart.com/tutorials/index.php?article=80

The sideboxes/banner_box.php and sideboxes/banner_box2.php
will rotate the banners that are assigned to the Banner Group Sidebox-Banners.

The sideboxes/banner_box_all.php displays static banner/banners.

So, if you have two banners and don't want them to rotate, assign one of them to the Group BannersAll in Banner Manager.

Or, you can create your own banner group. Will be happy to help with that, if that's what you decide.

28 Jul 2009, 8:37 PM
#9
hyperspeed avatar

hyperspeed

New Zenner

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

Re: Banner_box and Banner_box2 displays same content... how to change?

Ohhh. it makes so much more sense now.

So if i wanted the banner_box and banner_box2 to rotate banners, I create them (example 3 or 4 banners) with the Banner Manager and select them as sidebox banners, and then they will automatically rotate them?

I enabled banner_box-all and then created a BannersAll, its up and working the way I want it to!

Thanks for the help guys!

28 Jul 2009, 9:09 PM
#10
tshooters avatar

tshooters

Totally Zenned

Join Date:
Dec 2005
Posts:
1,037
Plugin Contributions:
2

Re: Banner_box and Banner_box2 displays same content... how to change?

:clap: Good job!

3 Nov 2009, 11:28 AM
#11
enzo_ita avatar

enzo_ita

Zen Follower

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

Re: Banner_box and Banner_box2 displays same content... how to change?

Hi,
I want to have two "static" banner box.
In order to achieve this, I have made the banner_box_all2.php copying it from banner_box_all.
I have then created in the language file the lines to identify the banner_box_all2 and set a different title for the box.
Set the banner_box_all2 to display, and it does with the different title I set.
So far so good.
Here comes the problem.
If I set only one banner to dsplay in the BannersAll group, it it shown in both banner_box_all and in banner_box_all2 while I want to display different banners in the two different boxes.
The question is: How can I assign to the two banner_box_all different banners? Or, in other words, how can I assign to different banner box different groups of banners?
Wht I want to achieve is that
banner_box_all must show BannerAll group
banner_box _all2 must show MyBanner group.
Is this possible?
I think I should add in the admin>layout setting a new box group wich should be banner_box_all2 and then set a new banner group for this box, but I do not know how to do it.
Thanks
enzo

26 Apr 2011, 5:23 AM
#13
chic21 avatar

chic21

New Zenner

Join Date:
Apr 2011
Posts:
2
Plugin Contributions:
0

Re: Banner_box and Banner_box2 displays same content... how to change?

I come across the same problem! Trying to solve it refer to this!

13 Aug 2011, 2:57 PM
#14
didolim avatar

didolim

New Zenner

Join Date:
Aug 2009
Posts:
16
Plugin Contributions:
0

Re: Banner_box and Banner_box2 displays same content... how to change?

chic21:

I come across the same problem! Trying to solve it refer to this!

I came across the same problem. Read a lot and tried for hours and only got frustrated. Now my solution: I just edited two pictures and joined them to become ONE picture under each other. So in this way I have enough at one banner_box. :-) O well I might even wanna join three or four pics :-)