Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

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...Language and In...Language and In...Adding links to skins for two localizationAdding links to skins for two localization
Previous
 
Next
New Post
9/14/2010 7:51 AM
 
Yes, but how do we create a custom one. Are there ways or third party developers that offer these custom controls?
 
New Post
9/14/2010 7:55 AM
 
Thanks Caroig, but i need for the link to be duplicated. The french text is being changed by a resource file. I would need to change the links so that they point to different language variants of the label. I want the english text to go to our english blog, and the french text to go to our french blog. Thanks again Caroig
 
New Post
9/14/2010 8:46 AM
 
No problem - you could still achieve what you want by moving the lang value to the link element (having two <a> elements on the page).  
 
New Post
9/14/2010 4:22 PM
 
Not too sure how to do it, i tried puting this code inside my ascx page, and it sure didn't look good. Not sure where the jquery needs to go.

here is what i think you meant for me to do after looking at your first example,

<p><img src="<%= SkinPath %>images/icons/PrimeAlcero.gif" alt="Contact" name="Contact" width="35" height="25" border="0" id="Contact" />
<span lang="fr-FR"><a href="http://blog.alcero.com" title="Blog" class="blog"></span><span lang="en-US"><a href="http://blog.alcero.com" title="Blog" class="blog"></span><asp:Label id="lblPrimeBlog" resourcekey="PrimeBlog" runat="server">Blog</asp:Label></a>

&nbsp;<img src="<%= SkinPath %>images/icons/PrimeContact.gif" alt="Contact" name="Contact" width="35" height="25" border="0" id="Contact" /><a href="<%= SkinPath %>#" title="Contact"><asp:Label id="lblPrimeContact" resourcekey="PrimeContact" runat="server">Contact</asp:Label></a></a>

<img src="<%= SkinPath %>images/icons/PrimeFrench.gif" alt="Fran�ais" name="French" width="35" height="25" border="0" id="French" /><dnn:LANGUAGE runat="server" ID="dnnLANGUAGE" ShowLinks="True" ShowMenu="False" ItemTemplate='<a href="[URL]" class="Language" title="[CULTURE:DISPLAYNAME]"><span class="Language[SELECTED]">[CULTURE:NAME]</span>'/>
</p>

not sure where this jquery goes: $('a.blog span[lang="'+$('html').attr('lang')+'"]').show('medium');

still confused, i would need to do that for each label in the above script.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Language and In...Language and In...Adding links to skins for two localizationAdding links to skins for two localization


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.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out