Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Banner visible on specific pages

Banner visible on specific pages

Locked

Views: 3,264

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

Banner visible on specific pages

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

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

ellivir

Zen Follower

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

Re: Banner visible on specific pages

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.)

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

kobra

Black Belt

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

Re: Banner visible on specific pages

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

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

ellivir

Zen Follower

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

Re: Banner visible on specific pages

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

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

kobra

Black Belt

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

Re: Banner visible on specific pages

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

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

ellivir

Zen Follower

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

Re: Banner visible on specific pages

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

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

ajeh

Oba-san

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

Re: Banner visible on specific pages

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 ...

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

ellivir

Zen Follower

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

Re: Banner visible on specific pages

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

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

actioncam

New Zenner

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

Re: Banner visible on specific pages

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

Re: Banner visible on specific pages

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?

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

Re: Banner visible on specific pages

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

Re: Banner visible on specific pages

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

Re: Banner visible on specific pages

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.