We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 26113
    • 88 Posts
    Hi -
    I’m new to modx and trying get my head around some of the concepts.
    I am building a menu with Wayfinder using modx version 0.9.5

    If I am understanding this correctly - this snippet call
    [!Wayfinder? &startId=`0` &outerTpl='wfmainOuter'!]


    should load the chunk named wfmainOuter.
    The contents of that chunk is simply:
    <div id="mainmenu">
    [+wf.wrapper+]
    </div>


    When I load the page, the menu displays, but does not use the outer chunk. I am a bit confused how the placeholders are used - form what I am gatehring is they are essentially variables - but where are the values assigned?

    It may be I am missing the point here. I like this product because the design element is so easy to implement, but gaining hold of some advanced features is tougher than I thought.

    Thanks for any help or insight.
    Rich

      • 11975
      • 2,542 Posts
      Hi,

      you’re using simple quotes ’’ where you should use ``

      [!Wayfinder? &startId=`0` &outerTpl=`wfmainOuter`!]

      :-)
        Made with MODx : [url=http://www.copadel.com]copadel, fruits et l
        • 26113
        • 88 Posts
        I see - that worked - but why?

        What are the slanted quotes called?
        Are the placeholders generated by Wayfinder?

        Thank you for your help!
          • 33337
          • 3,975 Posts
          These slanted quotes called "back ticks".

          Placeholders are generated by snippets, so yes in case of Wayfinder, it is! smiley
            Zaigham R - MODX Professional | Skype | Email | Twitter

            Digging the interwebs for #MODX gems and bringing it to you. modx.link