We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10208 ☆ A M B ☆
    • 1,780 Posts
    What level is the resource you're calling from the TV?

    If you're calling a 2nd level resource to Wayfinder, to see the sub-menus of that level 2 resource you have to set &level to at least 3, or nothing will display. And so on.

    Also, try calling Wayfinder uncached.

    Play with taking out the TV call for &startId. Just set it to a resource ID and see if you get a menu.

    UltimateParent might also work for you. It's giving me fits though, so don't get mad at me for suggesting it if it acts up for you too. Every time I try to add a parameter to it, my menu disappears. There's only three parameters available for UltimateParent total, and none of them like hanging out with the snippet call inside Wayfinder apparently.
      Frogabog- MODX Websites in Portland Oregon
      "Do yourself a favor and get a copy of "MODX - The Official Guide" by Bob Ray. Read it.
      Having server issues? These guys have MODX Hosting perfected - SkyToaster
      • 22427
      • 793 Posts
      I'm not sure what you want to achieve.
      on content pages I want a column that shows the children of the top level nav items.
      Do you mean the children of all the top level nav items? Or just the ones of the top level item the active page is belonging to?

      To clarify, how is your resources tree? Is it
      -- home
      -- about us
      ---- Directions
      ---- History
      ---- Hours
      or somewhat different? Wayfinder is essentially referring to the tree structure, its output depends on it.
        • 41210
        • 10 Posts
        Quote from: ottogal at Sep 13, 2012, 10:30 PM
        I'm not sure what you want to achieve.
        on content pages I want a column that shows the children of the top level nav items.
        Do you mean the children of all the top level nav items? Or just the ones of the top level item the active page is belonging to?

        To clarify, how is your resources tree? Is it
        -- home
        -- about us
        ---- Directions
        ---- History
        ---- Hours
        or somewhat different? Wayfinder is essentially referring to the tree structure, its output depends on it.

        Here is my structure.

        About
        - Directions
        - Hours
        - News
        Products & Services
        - Lot Sales
        - Monuments


        So when I view the "About page" I should see its children. Then if I go into "Hours" I should still see all the children of "About.
          • 22427
          • 793 Posts
          So you don't need a TV at all, just use the UltimateParent snippet:
          [[Wayfinder? &startid=`[[UltimateParent]]`  &ignoreHidden=`1` &level=`1`]]
            • 41210
            • 10 Posts
            Quote from: ottogal at Oct 01, 2012, 06:29 PM
            So you don't need a TV at all, just use the UltimateParent snippet:
            [[Wayfinder? &startid=`[[UltimateParent]]`  &ignoreHidden=`1` &level=`1`]]

            I must be doing something wrong. I tried your code and the nav shows up on the parent page, but then when I go to a child it doesn't appear. I even went and downloaded the UltimateParent package in case It wasn't already part of Modx. Is there something else i'm missing? Iv tried changing the level as well and that seems to have no effect at all.
              • 41210
              • 10 Posts
              Do i need to apply parameters to UltimateParent as well?
                • 41210
                • 10 Posts
                In case this helps, here are photos of the actual setup.

                  • 22427
                  • 793 Posts
                  Oh, I just see:
                  The correct property name is &startId, not &startid !
                  (There is the same mistake in the Wayfinder call l proposed because I had modified a copy of yours.)

                  And it might be necessary to call the UltimateParent uncached, that is [[!UltimateParent]].
                  (There is no need of more parameters for UltimateParent.)
                    • 41210
                    • 10 Posts
                    Ok now wayfinder is working. But now it's showing All items in the navigation. Maybe this is the complex way of solving this and i'm missing a simple solution?
                      • 22427
                      • 793 Posts
                      Try the snippet calls uncached:
                      [[!Wayfinder? &startId=`[[!UltimateParent]]`  &ignoreHidden=`1` &level=`1`]]

                      Perhaps you also need the property &topLevel in the UltimateParent call.
                      Try &topLevel=`2` (but may be you have to fiddle around a it with this value):
                      [[!Wayfinder? &startId=`[[!UltimateParent? &topLevel=`2`]]` &ignoreHidden=`1` &level=`1`]]