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

    I'm new on Modx Revolution and I try to adapt one of my menu's so that it can work with Wayfinder.

    My menu should look like this :

    <ul class="megamenu level0">
    <li class="mega active first"><a href="http://www.subran.be/" class="mega active first" id="menu3" title="Accueil"><span class="menu-title">Accueil</span></a></li>
    <li class="mega haschild"><a class="mega haschild" id="menu23" title="Sites internet"><span class="menu-title">Sites internet</span></a><div class="childcontent cols1 ">
    <div class="childcontent-inner-wrap">
    <div class="childcontent-inner clearfix" style="width: 200px;"><div class="megacol column1 first" style="width: 200px;"><ul class="megamenu level1"><li class="mega first"><a href="/fr/creation-de-sites-internet/achetez-votre-nom-de-domaine.html" class="mega first" id="menu6" title="Votre nom de domaine"><span class="menu-title">Votre nom de domaine</span></a></li><li class="mega"><a href="/fr/creation-de-sites-internet/notre-hebergement.html" class="mega" id="menu25" title="Nos hébergements"><span class="menu-title">Nos hébergements</span></a></li><li class="mega last"><a href="/fr/creation-de-sites-internet/portfolio-de-nos-sites-internet.html" class="mega last" id="menu24" title="Portfolio de nos sites internet"><span class="menu-title">Portfolio de nos sites internet</span></a></li></ul></div></div>
    </div></div></li><li class="mega"><a href="/fr/services-informatiques.html" class="mega" id="menu16" title="Services informatiques"><span class="menu-title">Services informatiques</span></a></li><li class="mega"><a href="/fr/formations.html" class="mega" id="menu4" title="Formations"><span class="menu-title">Formations</span></a></li><li class="mega"><a href="http://depanne-pc.be/fr" class="mega" id="menu7" title="Dépannage PC"><span class="menu-title">Dépannage PC</span></a></li><li class="mega"><a href="/fr/contact.html" class="mega" id="menu2" title="Contact"><span class="menu-title">Contact</span></a></li><li class="mega last haschild"><a href="http://webmail.subran.be" class="mega last haschild" id="menu8" title="Webmail"><span class="menu-title">Webmail</span></a><div class="childcontent cols1 ">
    
    <div class="childcontent-inner-wrap">
    <div class="childcontent-inner clearfix" style="width: 200px;"><div class="megacol column1 first" style="width: 200px;"><ul class="megamenu level1"><li class="mega first"><a href="http://www.google.be" class="mega first" id="menu9" title="Google"><span class="menu-title">Google</span></a></li></ul></div></div>
    </div></div></li></ul>
    


    But the only thing I succeed to let appear is <ul class="megamenu level0"> through Wayfinder by putting this link :
    [[Wayfinder? &startId=`0`&level=`0`&outerClass=`megamenu level0`]]


    What should I do for the rest ? Is it possible ?

    Thanks for your help!
      • 33974
      • 156 Posts
      This should help you:
      http://rtfm.modx.com/display/ADDON/Wayfinder+Introductory+Examples

      And of course it's possible. you have to work with several tpls / chunks and placholders. wink
        • 32316
        • 387 Posts
        But the only thing I succeed to let appear is <ul> through Wayfinder by putting this link :



        What should I do for the rest ? Is it possible ?

        Something is missing I believe.
        Try putting whatever was there inside code tags (click on the # button)
          • 3109 ☆ A M B ☆
          • 894 Posts
          Download the wayfinder ebook and look into the outerTpl, innerTpl and rowTpl sections.

          You cando anything with MODX you just have to know how wink
            Benjamin Marte
            Interactive Media Developer
            Follow Me on Twitter | Visit my site | Learn MODX
            • 22427
            • 793 Posts
            Your code contains repeatedly mistakes which obviously are due to erraneous copying and pasting:
            <a href="<a href="....
            ....subran.be/"</a> class="mega ....