We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28215
    • 4,149 Posts
    This is an auto-generated topic for Wayfinder 2.1.3-rc1 by splittingred.

    Brief Description:

    Wayfinder is a highly flexible navigation builder for MODx Revolution.
    New in 2.1.3

    • Added templates parameter that accepts a comma-delimited list of template IDs to filter by
    • Added where parameter that accepts a JSON object for where conditions
    • Added hereId parameter for specifying the active location

    New in 2.1.2

    • Fixed issue with includeDocs parameter
      shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
      • 4971
      • 964 Posts
      I upgraded to 2.1.3 and it broke my menu, reverted to 2.1.1 and
      still broken... what changed? (none of the new features should had
      affected it) and how do I fix it?
        Website: www.mercologia.com
        MODX Revo Tutorials:  www.modxperience.com

        MODX Professional Partner
        • 32412
        • 21 Posts
        My menu is also be broken after upgrading wayfinder to 2.1.3.

        The previous generated HTML:
        <ul class="site-nav">
        	<li class="first active"><a title="Home" href="/">Home</a></li>
        	<li><a title="Over mij" href="over-mij.html">Over mij</a></li>
        	<li><a title="Programma's" href="programmas.html">Programma's</a></li>
        	<li><a title="Projecten" href="projecten.html">Projecten</a></li>
        	<li class="last"><a title="Contact" href="contact.html">Contact</a></li>
        </ul>


        And the new generated HTML is:
        <ul class="site-nav">
        	<li class="first active"><a title="Home" href="http://revo.joeyaben.nl/">Home</a></li>
        	<li class="site-nav"><a title="Over mij" href="over-mij.html">Over mij</a></li>
        	<li class="site-nav"><a title="Programma's" href="programmas.html">Programma's</a></li>
        	<li class="site-nav"><a title="Projecten" href="projecten.html">Projecten</a></li>
        	<li class="last"><a title="Contact" href="contact.html">Contact</a></li>
        </ul>
        


        And my template coontains:
        [[Wayfinder? &startId=`0` &level=`1` &outerClass=`site-nav` ]]
        


        Why should my list item have the site-nav with the new Wayfinder, and not with Wayfinder 2.1.1?
        What should change to fix this problem?
          • 28215
          • 4,149 Posts
          Can you file that as a bug here: http://github.com/splittingred/Wayfinder/issues/
            shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
            • 26503
            • 620 Posts
            Hi,

            I’m trying to create a foot nav menu & can’t seem to get the html working correctly, I’m calling wf like this:

            [[Wayfinder? &startId=`0` 
            				&displayStart=`false` 
            				&outerTpl=`FootNavigation.outer` 
            				&innerTpl=`FootNavigation.inner` 
            				&rowTpl=`FootNavigation.row` 
            				&includeDocs=`26,33,42,38,39,49,25,52,53`
            				]]


            the problem is that some of those resource id’s are children of other resources & do not show up at all & when they do they show up as nested unordered lists, I’ve tried fiddling with the innerTpl & rowTpl but just cant seen to figure it out.


            What I need to show up in the end is something like:
            <ul>
            <li><a href="[[~26]]">Salon</a></li>
            				<li><a href="[[~33]]">Spa</a></li>
            				<li><a href="[[~42]]">Bridal Planner</a></li>
            				<li><a href="[[~25]]">Store</a></li>
            				<li><a href="[[~39]]">Make-up</a></li>
            				<li><a href="[[~49]]">Reservations</a></li>
            				<li><a href="[[~38]]">Packages</a></li>
            				
            				<li><a href="[[~52]]">Etiquette</a></li>
            				<li><a href="[[~53]]">Policies and Cancellations</a></li>
            </ul>
            


            FootNavigation.outer = <ul id="foot-nav-list" class="horizontal">[[+wf.wrapper]]</ul>
            FootNavigation.inner = is blank right now...
            FootNavigation.row = <li[[+wf.classes]]><a href="[[+wf.link]]" title="[[+wf.title]]">[[+wf.linktext]]</a>[[+wf.wrapper]]</li>



            any thoughts on how I should correctly do this??

            -thanks
            -sean

              *** Not just websites, we also create signage, banners, print, trade show displays and more! ***

              Sean Kimball CLP, CLS.
              Technical Director / Sr. Developer | BigBlock Studios
              ._______________________________________________.
              Bigblock Studios http://www.bigblockstudios.ca Web site design & development.
              27-1300 King Street East. Box 167 Oshawa, Ontario L1H8J4 Canada.
              phone/fax: 905-426-5525
              • 11793
              • 49 Posts
              Quote from: sean69 at Nov 26, 2010, 12:12 PM


              I’m trying to create a foot nav menu & can’t seem to get the html working correctly, I’m calling wf like this:




              Sean, I believe that Wayfinder mimics the actual structure of your Modx documents, and will reflect nested children accordingly. I don’t think it’s possible to ’flatten’ the document structure into a single level, as you require. Correct me if I’m wrong.
                • 26503
                • 620 Posts
                @hardboiled

                You may be right - certainly makes senses. Everything I have been trying is not yielding the desired results .... I guess I am down to statically linking them in html sad


                Maybe we can get splittingred to weigh in on this?

                -thanks
                -sean
                  *** Not just websites, we also create signage, banners, print, trade show displays and more! ***

                  Sean Kimball CLP, CLS.
                  Technical Director / Sr. Developer | BigBlock Studios
                  ._______________________________________________.
                  Bigblock Studios http://www.bigblockstudios.ca Web site design & development.
                  27-1300 King Street East. Box 167 Oshawa, Ontario L1H8J4 Canada.
                  phone/fax: 905-426-5525
                  • 11055 ☆ A M B ☆
                  • 3,112 Posts
                  just wonder, why would you need a wayfinder to do this ’un’-structured menu?
                    Rico
                    Genius is one percent inspiration and ninety-nine percent perspiration. Thomas A. Edison
                    MODx is great, but knowing how to use it well makes it perfect!

                    www.virtudraft.com

                    Security, security, security! | Indonesian MODx Forum | MODx Revo's cheatsheets | MODx Evo's cheatsheets

                    Author of Easy 2 Gallery 1.4.x, PHPTidy, spieFeed, FileDownload R, Upload To Users CMP, Inherit Template TV, LexRating, ExerPlan, Lingua, virtuNewsletter, Grid Class Key, SmartTag, prevNext

                    Maintainter/contributor of Babel

                    Because it's hard to follow all topics on the forum, PING ME ON TWITTER @_goldsky if you need my help.
                    • 25910
                    • 26 Posts
                    Hello,

                    is it possible to get the menu from other contexts with Wayfinder, for example:

                    [[!Wayfinder? &startId=`0` &context=`anotherContext` ]]

                    If not, can you give me a hint?

                    Thanks in advance,
                    S.