Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.

Banner visible on specific pages

Locked

Started by ellivir on 13 Oct 2006, 8:24 AM · Views: 3,267

Results 1 to 13 of 13
This thread is locked. New replies are disabled.
13 Oct 2006, 8:24 AM
#1
ellivir avatar

ellivir

Zen Follower

Join Date:
Sep 2005
Posts:
444
Plugin Contributions:
0

Post #1 by ellivir

Hi,

how do I configure that the banner (wide-banner) is visible on spesific pages, according to the category? So, I want that the banner on category 1 is different than in category 2. I need on 4 different categories their own banner picture to appear, otherwise can be something else or change randomly.

Elli

I may be blond but at least I found Zen.

19 Oct 2006, 6:49 AM
#2
ellivir avatar

ellivir

Zen Follower

Join Date:
Sep 2005
Posts:
444
Plugin Contributions:
0

Post #2 by ellivir

ellivir:

Hi,

how do I configure that the banner (wide-banner) is visible on spesific pages, according to the category? So, I want that the banner on category 1 is different than in category 2. I need on 4 different categories their own banner picture to appear, otherwise can be something else or change randomly.

Elli

Nobody has any idea for this?
(I have had bad luck lately, made many different questions about ZC and no answers... that's life I guess.)

I may be blond but at least I found Zen.

19 Oct 2006, 12:19 PM
#3
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Post #3 by kobra

If I am understanding what you want...Try creating the image that you want displayed that you are calling a "Banner" and in the admin > catalog > categories/products > edit a category > attach the image to the category in the "Category Image:" function box.

This will display the image only when the category is selected. You will have to adjust the image size to display in admin > config > images > Category Icon Image Width - Product Info Pages and Category Icon Image Height - Product Info Pages - as this is intended to be an "Icon" image

See if this does not satisfy what you seek

Zen-Venom Get Bitten

19 Oct 2006, 8:24 PM
#4
ellivir avatar

ellivir

Zen Follower

Join Date:
Sep 2005
Posts:
444
Plugin Contributions:
0

Post #4 by ellivir

kobra:

If I am understanding what you want...Try creating the image that you want displayed that you are calling a "Banner" and in the admin > catalog > categories/products > edit a category > attach the image to the category in the "Category Image:" function box.

This will display the image only when the category is selected. You will have to adjust the image size to display in admin > config > images > Category Icon Image Width - Product Info Pages and Category Icon Image Height - Product Info Pages - as this is intended to be an "Icon" image

See if this does not satisfy what you seek

Thanks for your answer but I really want a real banner to be shown on specific categories pages. I though that would have been actual thought already in the banner management structure but atleast I do not find such option.

FOR EXAMPLE: Banner is an advertisement and if one advertiser is interested in putting his banner of printers that are related products of my category of "printing material", he is not necessarily interested in putting his banner for the page of selling socks in the same shop. On the other hand I may have another banner advertiser who is selling shoes and is interested in putting his banner on the page of socks indeed.

Maybe this example above clarified my need for the banner. ;)

Elli

I may be blond but at least I found Zen.

20 Oct 2006, 2:04 PM
#5
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Post #5 by kobra

What you want, while not a native function, is possible but will require a bit of custom coding.

Zen-Venom Get Bitten

31 Oct 2006, 9:33 AM
#6
ellivir avatar

ellivir

Zen Follower

Join Date:
Sep 2005
Posts:
444
Plugin Contributions:
0

Post #6 by ellivir

kobra:

What you want, while not a native function, is possible but will require a bit of custom coding.

Ah, ok, so it was not that I would have been blind not seeing the option somewhere in the jungle of admin. I guess I am not able to make any coding like that then. Funny, that it was not thought the banners should be category sensitive. Every day we learn more...

Elli

I may be blond but at least I found Zen.

2 Nov 2006, 2:35 PM
#7
ajeh avatar

ajeh

Oba-san

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

Post #7 by ajeh

We will keep that in mind for the future ...

For now, just adding a case statement to run the different Banner Groups based on the Category could be used to manage this ...

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!

8 Nov 2006, 10:13 AM
#8
ellivir avatar

ellivir

Zen Follower

Join Date:
Sep 2005
Posts:
444
Plugin Contributions:
0

Post #8 by ellivir

Ajeh:

We will keep that in mind for the future ...

For now, just adding a case statement to run the different Banner Groups based on the Category could be used to manage this ...

Sounds interesting! :)
How would I do that and in which file?
I like to learn more...

Elli

I may be blond but at least I found Zen.

18 Dec 2006, 7:25 AM
#9
actioncam avatar

actioncam

New Zenner

Join Date:
Dec 2006
Posts:
1
Plugin Contributions:
0

Post #9 by actioncam

Any updates on this thread? I would also like to know how to do this :)

2 May 2007, 1:00 PM
#10
ellivir avatar

ellivir

Zen Follower

Join Date:
Sep 2005
Posts:
444
Plugin Contributions:
0

Post #10 by ellivir

No, I haven't figured how to make the "case statement" Ajeh mentioned required for this since I'm not a coder really... I have the feeling it would not even be difficult, maybe some few lines of code to put somewhere but how?

I may be blond but at least I found Zen.

18 May 2007, 1:06 PM
#11
welshop_com avatar

welshop_com

Zen Follower

Join Date:
Aug 2004
Location:
Newport, Wales
Posts:
262
Plugin Contributions:
0

Post #11 by welshop_com

This sounds like a good idea!

I would be interested if anyone can throw any more light on Ajeh's possible solution

Cheers
Brinley

21 Oct 2008, 2:51 PM
#12
ive_got_questions avatar

ive_got_questions

New Zenner

Join Date:
Sep 2008
Posts:
11
Plugin Contributions:
0

Post #12 by ive_got_questions

comment withdrawn

21 Oct 2008, 2:54 PM
#13
ive_got_questions avatar

ive_got_questions

New Zenner

Join Date:
Sep 2008
Posts:
11
Plugin Contributions:
0

Post #13 by ive_got_questions

kobra:

If I am understanding what you want...Try creating the image that you want displayed that you are calling a "Banner" and in the admin > catalog > categories/products > edit a category > attach the image to the category in the "Category Image:" function box.

This will display the image only when the category is selected. You will have to adjust the image size to display in admin > config > images > Category Icon Image Width - Product Info Pages and Category Icon Image Height - Product Info Pages - as this is intended to be an "Icon" image

See if this does not satisfy what you seek

Is it possible to do the same thing with separate EZ Pages as you are suggesting with Categories/Products?

I am trying to figure out a way to put specific banners/images on each EZ Page I've created.