Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Lloyd Apter 64 posts 84 karma points
    Jul 08, 2012 @ 15:01
    Lloyd Apter
    0

    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

    • 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>

    Many thanks,

    Lloyd

  • Yannick Smits 321 posts 718 karma points
    Jul 09, 2012 @ 17:57
    Yannick Smits
    0

    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.

  • Lloyd Apter 64 posts 84 karma points
    Jul 09, 2012 @ 18:02
    Lloyd Apter
    0

    Thanks Yannick.

    Do I need to setup the macros or can I install them from some where?

  • Yannick Smits 321 posts 718 karma points
    Jul 09, 2012 @ 18:04
    Yannick Smits
    1

    aren't they included in the package?

  • Lloyd Apter 64 posts 84 karma points
    Jul 09, 2012 @ 18:12
    Lloyd Apter
    0

    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.

  • Yannick Smits 321 posts 718 karma points
    Jul 09, 2012 @ 18:20
    Yannick Smits
    1

    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.

  • Lloyd Apter 64 posts 84 karma points
    Jul 09, 2012 @ 18:39
    Lloyd Apter
    0

    Great thanks.

Please Sign in or register to post replies

Write your reply to:

Draft