Quantcast
Channel: C1 CMS Foundation - Open Source on .NET
Viewing all articles
Browse latest Browse all 2540

New Post: LanguageSwitcher Inside UserControl ?

$
0
0
1.
In v.4.0, in User Control functions, you should:
  • specify runat="server"
  • use f: prefix with functions and params, like this:
<f:function runat="server" name="Composite.Navigation.LanguageSwitcher">
  <f:param name="Mode" value="HomePages" />
  <f:param name="ShowCurrent" value="True" />
</f:function>
2.
Also, there should be at least two languages on the website (System / Language), and pages in the other languages should be translated and published

Viewing all articles
Browse latest Browse all 2540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>