We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 16932
    • 31 Posts
    Dear all,

    I am trying to use a template i made in webflow for Modx. I can manage all the chunks and TV's but is there any change some one could help me translate this into a wayfinder menu?

    <div class="w-container">
    <a class="w-nav-brand w-clearfix brand-block" href="#">
    <img class="logo-img" src="images/minimal-logo.png" width="65" alt="530ab6fbadc8485f56000af3_minimal-logo.png">
    <h1 class="logo-title">Minimal</h1>
    </a>

    <nav class="w-nav-menu nav-menu" role="navigation"><a class="w-nav-link nav-link" href="#process">process</a><a class="w-nav-link nav-link" href="#projects">projects</a><a class="w-nav-link nav-link" href="#team">team</a><a class="w-nav-link nav-link" href="#contact">contact</a>
    </nav>

    <div class="w-nav-button menu-button">
    <div class="w-icon-nav-menu"></div>
    </div>
    </div>

    -----------This doesn't work & makes a list-----------------

    <nav class="w-nav-menu nav-menu" role="navigation">
    [[Wayfinder? &startId=`0` &sortBy=`menuindex`]]</nav>

    -----------This doesn't work & makes a list-----------------

    Your help is appreciated!

    Kind regards,

    Lennard [ed. note: lennardwoering last edited this post 9 years, 8 months ago.]
      • 36996
      • 211 Posts
      You need a custom rowTpl and outerTpl:

      myouterTpl

          <nav class="w-nav-menu nav-menu" role="navigation">[+wf.wrapper+]</nav>
      


      myrowTpl

          <a href="[+wf.link+]" class="w-nav-link nav-link [[+wf.classnames+]]">[+wf.linktext+]</a>
      


      and

      [[Wayfinder? &startId=`0` &sortBy=`menuindex` &outerTpl=`myouterTpl` &rowTpl=`myrowTpl`]]
        • 16932
        • 31 Posts
        Dear Nir,

        You are the man! That worked perfectly. Thank you so much! You made my day.

        Kind regards,

        Lennard