Learn More





Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Language skinobjectLanguage skinobject
New Post
4/29/2013 5:59 AM


I'm using the language skinobject with this itemteplate:
<dnn:LANGUAGE runat="server" ID="dnnLANGUAGE" ShowLinks="True" ShowMenu="False" ItemTemplate='<a href="[URL]" class="Language" title="[CULTURE:NATIVENAME]"><span class="Language[SELECTED]">[CULTURE:TWOLETTERISOCODE]</span></a>'/>

I want to have the NL and FR as text in the skinobject. If it is not clicked it shows me the FR text but the NL text is replaced by a flag of that country. I saw in my HTML that when clicked the text becomes a span and not a link. 

<div class="language-object" >
<a href="" class="Language" title="Français (France)"><span class="LanguageFalse">fr</span></a><span class="Language selected" title="Nederlands (België)" ><img src="/images/Flags/nl-BE.gif" alt="nl-BE" /></span>

I want to have my NL text there and not the image, how can i do that?

New Post
4/30/2013 5:52 AM

You should also define the SelectedItemTemplatee and the AlternateTemplate to solve that. Simply make them the same as the ItemTemplate.

New Post
4/30/2013 6:22 AM
Thank you for your reply. That solved my problem. Big thank you!
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Language skinobjectLanguage skinobject

These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
Try Evoq
For Free
Start Free Trial
a Demo
See Evoq Live
Need More Information?