Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > Language selection drop-down View modes: 
User avatar
Member
Member
ahmad.mai-edata-tc - 1/18/2012 3:01:07 AM
   
Language selection drop-down
hi
can i modify "Language selection drop-down" web-part to view just the first two Characters of the language name and without flag

User avatar
Member
Member
ahmad.mai-edata-tc - 1/18/2012 3:07:56 AM
   
RE:Language selection drop-down
I Fugger out how to view the first two Characters
its can be modify from "Cultures/Short name"

now how can I hide the flage

User avatar
Kentico Support
Kentico Support
kentico_janh - 1/18/2012 3:38:04 AM
   
RE:Language selection drop-down
Hello,

Flags are coded in a web part, so if you want to hide them, please duplicate the Language selection drop-down web part and comment or delete following lines from its source code:
175: imgFlagIcon = this.GetImageUrl("Flags/16x16/" + HTMLHelper.HTMLEncode(culture.CultureCode) + ".png");
295: imgFlagIcon = this.GetImageUrl("Flags/16x16/" + HTMLHelper.HTMLEncode(cultureCode) + ".png");


Best regards,
Jan Hermann

User avatar
Member
Member
ahmad.mai-edata-tc - 1/18/2012 9:03:33 AM
   
RE:Language selection drop-down
thanks a lot
i did it