Products

Solutions

Learn More

Partners

Community

Blog

About

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...how to display dnn:language control to anonymous users ?how to display dnn:language control to anonymous users ?
Previous
 
Next
New Post
12/18/2016 1:39 PM
 

I want to display that flags-control on some of DNN's toolbars above my pages, so it can be accessible from every page.

I have read this in some of previous threads :

Here is what I added to my skin file: <object id="dnnLANGUAGE" codebase="LANGUAGE" codetype="dotnetnuke/server" ShowMenu="False" ShowLinks="True"></object>


...and I guess I miss this snippet, but I can not realize where should I insert this. I have read some of my skin files (.ascx and .css ones), and I don't think this snippet belongs to them.

What should I do with this ?

 
New Post
12/18/2016 8:19 PM
 
this is a version for .html skin files, which get parsed during installation.
in an .ascx version of a skin you need to register the DNN language control near the top of the file and use dnn:Language tag, where you'd like the language selector to show up.
Check DNN default skin for a sample.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
12/19/2016 4:48 AM
 

Dragan,

in an ascx file you have to register the control (at the top of the file, somewhere after the line that starts with "<%@ Control language=...":

<%@ Register TagPrefix="dnn" TagName="LANGUAGE" Src="~/Admin/Skins/Language.ascx" %>

Then you can add the control at the position you need it, like:

<dnn:LANGUAGE runat="server" id="LANGUAGE1"  showMenu="False" showLinks="True" />

Please have a look at this article in the blogs to get more information about the control: http://www.dnnsoftware.com/community-...

Happy DNNing!
Michael


Michael Tobisch
DNN★MVP
dnn-Connect.org - The most vibrant community around the DNN-platform
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Language and In...Language and In...how to display dnn:language control to anonymous users ?how to display dnn:language control to anonymous users ?


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.

Content Layout

Subscribe to DNN Digest

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  

What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out