Can you plese explain this section in more detail - i.e. what code to insert in which template(s) and where?
How to use
insert one or both macro's in your master template or
use the razor scripts directly in this notation: <umbraco:Macro Language="cshtml" runat="server"> @RenderPage( "~/macroscripts/MultiLanguage/LanguageSwitcher/List.cshtml") </umbraco:Macro>
How to use
Hi,
Many thanks for this great tool.
Can you plese explain this section in more detail - i.e. what code to insert in which template(s) and where?
How to use
<umbraco:Macro Language="cshtml" runat="server">
@RenderPage(
"~/macroscripts/MultiLanguage/LanguageSwitcher/List.cshtml")
</umbraco:Macro>
Many thanks,
Lloyd
you insert the meta data macro in the head section and the languageswitcher macro on the place in your template where you want the flags to appear.
Thanks Yannick.
Do I need to setup the macros or can I install them from some where?
aren't they included in the package?
This is the languageswitcher macro?
<umbraco:Macro Language="cshtml" runat="server">
@RenderPage(
"~/macroscripts/MultiLanguage/LanguageSwitcher/List.cshtml")
</umbraco:Macro>
If so, then what is the meta data macro please.
Thanks again.
Macro's can be found in your developer section. They are called [ML] Language Switcher and [ML Metadata].
You add them to a template using the template editor in settings. There you'll find a button called add macro.
Great thanks.
is working on a reply...