Apollo Software Normal layoutMedium LayoutLarge Layout    Normal TextLarge Text
Startpagina | DotNetNuke | Over ... | Downloads | Forum | Blog
United States Netherlands
Registreren | Inloggen

Forum Tags

 
boolean   error   file   help   just   language   menu   mlhtml   module   modules   need   object   page   pagelocalization   problem   site   skin   string   version   work  

  

Need live support?

Please feel free to add my support e-mail address to your MSN contacts. If you catch me online, I'll be able to solve your problems faster than through this forum. Please appreciate that I only give free support on our own modules!

My msn account: support@apollo-software.nl. Alternatively, you can click the botton below, it will open up a Live Messenger window (Windows Live ID required)

  

Session Variable?
Last Post 2005-06-28 15:51:41 by erik van ballegoij. 1 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
zzzz xxxx
New Member
New Member
Posts:5

--
2005-06-28 14:27:55  
In order to display one flag on a page linking to the other language instead of displaying both flags on both pages e.g. we need an US flag only on the german page and a German flag only on the English language page.
Is there a session variable controlling the languages? Is that how to go about solving the above problem?
erik van ballegoij
Advanced Member
Advanced Member
Posts:721
Avatar

--
2005-06-28 15:51:41  
<div>This is a feature already of the language selector. If you are using the selector as a module, you can set the option "Hide Current" which will hide the current language from the selector. If you are using the selector as a skin object, you can add the parameter "hidecurrent=true" to the skin object instance. </div> <div> </div> <div>this is a list of all available attributes: (taken from the helpfile, which you can find in the documentation folder of the module)</div> <div> </div> <div> <table id="Table1" style="BORDER-COLLAPSE: collapse" cellpadding="3" border="0"> <tbody> <tr> <td valign="top"><b>parameter</b></td> <td valign="top"><b>use</b></td> <td valign="top"><b>allowed values</b></td> <td valign="top"><b>default value</b></td> </tr> <tr> <td valign="top">DisplayType</td> <td valign="top">Selects how the name of the language is rendered</td> <td valign="top">EnglishName<br/> Lcid<br/> Name<br/> NativeName<br/> TwoLetterISOCode<br/> ThreeLetterISOCode<br/> NativeLanguageName<br/> EnglishLanguageName</td> <td valign="top">NativeLanguageName</td> </tr> <tr> <td valign="top">cssClass</td> <td valign="top">Sets the style of the dropdown menu and the links</td> <td valign="top">any valid css class name</td> <td valign="top">skinobject</td> </tr> <tr> <td valign="top">Alignment</td> <td valign="top">To render  the links and/or flags of the selector horizontal or vertical</td> <td valign="top">Horizontal<br/> Vertical</td> <td valign="top">Horizontal</td> </tr> <tr> <td valign="top">Separator</td> <td valign="top">To separate the links/flags</td> <td valign="top">any valid html</td> <td valign="top">&nbsp;&nbsp;</td> </tr> <tr> <td valign="top">hideCurrent</td> <td valign="top">Hides the current selected language in the flag/links view</td> <td valign="top">True<br/> False</td> <td valign="top">True</td> </tr> <tr> <td valign="top">Hyperlinks</td> <td valign="top">Show hyperlinks. This will render a hyperlink for all available languages</td> <td valign="top">True<br/> False</td> <td valign="top">False</td> </tr> <tr> <td valign="top">Flags</td> <td valign="top">Shows flags. This will render a flag image/hyperlink for all available languages. Only flags for en-US, de-DE and nl-NL are included. If you want to use your own flag, save a .gif image in the "flags" directory of the selector directory (the selector is installed in /desktopmodules/MLLanguageSelector/). Name your files after the 2-letter <a href="http://www.iso.org/iso/en/prods-services/iso3166ma/02iso-3166-code-lists/list-en1.html" target="_blank">iso 3166</a> countrycode (so for instance "us.gif" for United States)</td> <td valign="top">True<br/> False</td> <td valign="top">False</td> </tr> <tr> <td valign="top">Menu</td> <td valign="top">Show menu. This will render language dropdown menu</td> <td valign="top">True<br/> False</td> <td valign="top">True</td> </tr> <tr> <td valign="top">displayLabel</td> <td valign="top">Show a label in front of the selector</td> <td valign="top">True<br/> False</td> <td valign="top">False</td> </tr> <tr> <td valign="top">LabelCSSClass</td> <td valign="top">CSS class to be used for the label</td> <td valign="top">any valid cssclass</td> <td valign="top">skinobject</td> </tr> </tbody> </table> </div>
Erik van Ballegoij,
a view from my attic, my personal blog

The personal blog of Erik van Ballegoij

You are not authorized to post a reply.

Active Forums 4.2
  

Copyright 2002-2007 Apollo Software
Gebruiksovereenkomst  |  Privacybeleid
Page generated in 1,4078792 seconds.