We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 34162
    • 1 Posts
    This is an auto-generated topic for <a href="extras/package/?487full">Wayfinder 2.1.1-rc1</a> by splittingred.

    Brief Description:
    Wayfinder is a highly flexible navigation builder for MODx Revolution.
      • 29091
      • 88 Posts
      Hi there...

      Thanks for reading.

      I am styling my external links to have an external (www) link using the following CSS code you may be familiar with:

      a[href^="http:"] {
        padding-right:18px;
        background:url(images/linkstyles/external-link.gif) no-repeat center right;
      }
      a[href^="http:"] img { 
        margin-right:-18px; 
      }


      The problem is that the home page link is getting styled (in both the fly-out menu and the text based section links menu). Why would Wayfinder call home with http: as opposed to "/"? Can I change that behaviour somewhere? Or should I change my base [[(site_url)] to "/" instead of the domain name, maybe (No, right?)?

      Thanks in advance for any ideas you might have!
      -Doug
        Doug Peters, Symbiotic Design. (605) 251-8973
        http://W3DN.com | http://www.DomainHostmaster.com
        • 29091
        • 88 Posts
        Well, I suppose its no big deal, eh?

        I just used:

        #text-links a[href^="http:"] {
          background-image:none;
        }
        .menu a[href^="http:"] {
          background-image:none;
          margin-right:-18px;
        }


        So I guess it really doesn’t matter.

        -Doug
          Doug Peters, Symbiotic Design. (605) 251-8973
          http://W3DN.com | http://www.DomainHostmaster.com
          • 15162
          • 59 Posts
          I have a weird problem with Wayfinder 2.1.1-rcl and getResources 1.1.0-pl. When I create a new resource and leave the "Hide From Menus:" option ticked my getResources call fails.

          [[Wayfinder? &startId=`0` ]]


          [[!getResources? &parents=`3,4` &tpl=`featuredBIG_tpl` &limit=`1` ]]


          Just migrating an Evo site to Revolution and most of the code is copied from the Wiki. I installed Wayfinder and getResources through packet management. I re-installed both packages again, just in case there were errors the first time. Using Revolution 2.0.0-pl.

          I understand that the version of Wayfinder I am using is RC, but just thought this could be helpful when thinking of the next version smiley Works like a charm when the "Hide From Menus:" option is unticked, but then I have an 30 character long menu item tongue
            • 28215
            • 4,149 Posts
            &showHidden=`1` in getResources call.
              shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
              • 15162
              • 59 Posts
              Quote from: splittingred at Aug 04, 2010, 11:08 AM

              &showHidden=`1` in getResources call.
              Thank you! Couldn’t connect the dots tongue
                • 14524
                • 8 Posts
                I’m a little perplexed. I’m moving from Evolution to Revolution and now I’m having problems with the wayfinder menu. Here is my code thus far:

                Wayfinder call
                <div id="navArea">
                         <div class="nav-wrap">
                                  [[Wayfinder? &startId=`0` &outerTpl=`menuContainer` &outerClass=`group`]]
                         </div>
                </div>
                


                Outer Template = menuContainer
                <ul id="topnav" [+wf.classes+]>[+wf.wrapper+]</ul>
                


                The problem I’m having is by using this setup my output in the HTML is:
                <div id="navArea">
                         <div class="nav-wrap">
                                  <ul id="topnav" [+wf.classes+]>[+wf.wrapper+]</ul>
                         </div>
                </div>
                


                It seems like the system isn’t recognizing wayfinder at all, but if my Wayfinder call is:
                <div id="navArea">
                         <div class="nav-wrap">
                                  [[Wayfinder? &startId=`0`]]
                         </div>
                </div>
                


                I get an unordered list of my resources no problem. What am I missing? Did the syntax change?
                  • 28215
                  • 4,149 Posts
                  Quote from: johnny5r at Aug 06, 2010, 08:16 PM

                  I get an unordered list of my resources no problem. What am I missing? Did the syntax change?

                  Yes. Revo tags are different than Evo tags: http://rtfm.modx.com/display/revolution20/Tag+Syntax
                    shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
                    • 36933
                    • 35 Posts
                    Hey Splittingred,

                    I wasn’t sure if this was the correct place to put this but I noticed an error in the wiki for wayfinder.

                    Under the template parameters | &rowTpl section it reads that the Revo placeholders are called using [[++wf._____]] where as it should read [[+wf._____]]. I can see it is just a typo as the &outerTpl section is correct, but I thought it might trip up some people.

                    Cheers
                    Brad
                      • 27913
                      • 2 Posts
                      Hello!

                      I am have problem using placeholders with output filter.
                      I want to output few strings depends from item class using my snippet:
                      [[+wf.classnames:funcContain=`few options`]]

                      But in the snippet $input variable is always empty.
                      I tried to use standard output filter (cat, for example) with the same results.
                      Can you check this?

                      PS. Sorry for my english, this is not my native language smiley
                        With best regards, Neil.