We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28121
    • 107 Posts
    I have a list of resources that I want to pull into my homepage using Wayfinder under Revo.

    I have it working with the following Wayfinder call

    [[!Wayfinder? &startId=`7` &level=`1` &excludeDocs=`58` &displayStart=`FALSE` `&hideSubMenus=`1` !]]

    Is there any way to hide the StartID from showing in H2 Tags above the list of resources?
    I just want its children, not the Containers name (in this case ’Services’. I thought
    &displayStart=`FALSE` would be the appropriate parameter but it’s not acting the way I want.


    Services

    Audit & Assurance
    Accounting & Business Advisory Services
    Tax
    Outsourcing
    Company Secretarial
    Corporate Finance
    Corporate Recovery & Turnaround
      • 22427
      • 793 Posts
      [[!Wayfinder? &startId=`7` &level=`1` &excludeDocs=`58` &displayStart=`FALSE` `&hideSubMenus=`1` !]]
      In Revo the snippet call has to be embraced by [[! ..... ]], not [[! ..... !]] - I think this is just a typo in your post.
      &displayStart=`FALSE`
      should better be [tt]&displayStart=`0`[/tt] (which holds for any boolean parameter; see https://github.com/splittingred/Wayfinder/issues/29 ).

      But this aside, the <h2> headline with the pagetitle of the parent should not appear in the Wayfinder output.
      It does not with the Wayfinder used in Evo 1.0.5.
      So it seems to be a bug.
      Could someone else confirm?
        • 28042 ☆ A M B ☆
        • 24,524 Posts
        displayStart is false by default. It’s always safer to use 0 and 1 for false and true in snippet parameters.
          Studying MODX in the desert - http://sottwell.com
          Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
          Join the Slack Community - http://modx.org
          • 22427
          • 793 Posts
          I’ve been wrong saying
          So it seems to be a bug.
          Of course it’s not.

          The parameter [tt]&startItemTpl[/tt] by default is this:
          <h2>[[+wf.linktext]]</h2>[[+wf.wrapper]]

          So if you set [tt]&displayStart=`1`[/tt] without explicitely giving a [tt]&startItemTpl[/tt] you will get this headline.

          Obviously, in the original WF call, [tt]`FALSE`[/tt] is token as [tt]`1`[/tt] and so the default [tt]&startItemTpl[/tt] is applied.

          Solution: Or to set [tt]&displayStart=`0`[/tt] (the default value, so you can leave it out as well), or to define an own chunk for the [tt]&startItemTpl[/tt] , f.e. containing just [tt][[+wf.wrapper]][/tt] .