We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 20056
    • 7 Posts
    I like the [tt]displayStart[/tt] parameter of Wayfinder. However, in cases where there aren’t any documents that Wayfinder will output, except the one document specified with the [tt]startId[/tt] parameter, is it possible to exclude the output of the [tt]displayStart[/tt] document as well? In other words, if Wayfinder doesn’t find any documents - don’t return anything, not even the [tt]displayStart[/tt] document (even if that one obviously exists).

    Hope I’m making sense... Maybe there’s another approach I should try to do this?
      • 15987
      • 786 Posts
      MoeGreene,

      Just set the displayStart param to 0. And then change it later if needed. I can’t think of another way to do it at this point.
        • 20056
        • 7 Posts
        Quote from: kylej at Sep 08, 2007, 12:16 PM
        Just set the displayStart param to 0. And then change it later if needed. I can’t think of another way to do it at this point.

        Thanks for answering! I need it to be dynamic though. On pages without child documents I want no output at all, and on pages with children I want the [tt]displayStart[/tt] link along with the rest of the links.

        I found a way to do it using PHx, but I was looking for a cleaner/simpler solution and thought maybe Wayfinder could do it on its own.