Forums / Templates, Stylesheets, Page Layout / Banner just in one language

Banner just in one language

Locked

Views: 1,436

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
15 Aug 2006, 10:52 PM
#1
groowine avatar

groowine

New Zenner

Join Date:
Aug 2005
Posts:
42
Plugin Contributions:
0

Banner just in one language

Hello people,

I did a banner in another language, meaning it to be displayed only when that language is selected.

but in the banner manager, I realized there´s no control over this... or is there?

In my case, I made an english banner for english viewers. And the other language is portuguese, whose viewers won´t be interested in the english banner.

Is there a way to solve this?

Thanks in advance,

Groowine.

Absinthe Shop in Brazil

15 Aug 2006, 11:07 PM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Banner just in one language

Where do you want to display the banner?

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

24 Aug 2006, 2:10 AM
#3
groowine avatar

groowine

New Zenner

Join Date:
Aug 2005
Posts:
42
Plugin Contributions:
0

Re: Banner just in one language

I want to have it displayed in the banner sideboxes, but only in the english language.

Can you figure out a way to have this accomplished?

Thanks!

Absinthe Shop in Brazil

24 Aug 2006, 8:39 AM
#4
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Banner just in one language

At the moment your site appears to be in Portguguese so I'm not sure how you would recognize that your visitor was English-speaking.

However, assuming that you will be using Zen Cart's language facilities, you could achieve what you want by giving the banner its own sidebox, let's say that was bannerbox2 and then placing a file called portuguese_stylesheet.css in your includes/templates/YOUR_TEMPLATE/css/ directory (or in your specific case in includes/templates/classic/css/) that contains just the line > #bannerbox2 {display:none}

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

25 Aug 2009, 9:46 AM
#5
poopette avatar

poopette

New Zenner

Join Date:
Mar 2009
Location:
In Belgium now
Posts:
6
Plugin Contributions:
0

Re: Banner just in one language

Please have a read on this topic : banner+language