We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 47629
    • 2 Posts
    Hi everyone,

    Let me start by saying I am a ModX noob - I just discovered it the other day and am really loving it so far.

    However, one issue I have is that templates don't work in Wayfinder at all - default templates are always used instead.
    My snippet call looks like:
    [[Wayfinder? &startId='0' &outerTpl='myOuterTpl' &debug='1']]

    And my Chunk is called "myOuterTpl" and looks like:
    <ul id="test">[[+wf.wrapper]]</ul>


    The debug output shows the outTpl as 'myOuterTpl' in the Settings section, but in the Template Process section it says "outerTpl - No template found, using default." It also does this for rowTpl when I tried testing that instead.

    I've done a clean install and tried again in case I stuffed up something, and Google'd to try and find an answer without any luck.
    I'm using:
    * Revo 2.2.14
    * CodeMirror 2.2.1
    * Wayfinder 2.2.3

    No doubt I've done something simple wrong - can anyone help? [ed. note: bennorman last edited this post 12 years, 4 months ago.]
      • 1343 ☆ A M B ☆
      • 2,213 Posts
      Hello,

      Could you please confirm you are using the backtick instead of a single quote? The result should be something like this:

      [[Wayfinder? &startId=`0` &outerTpl=`myOuterTpl` &debug=`1`]]
        Patrick | Server Wrangler
        About Me: Website | Tweets |  MODX Hosting
        • 47629
        • 2 Posts
        Hi AMD,

        Thank you! That was the issue. I feel like such a noob haha.

        When I saw the examples listed on Wayfinder I had just assumed they were single quotes. Working now
          • 1343 ☆ A M B ☆
          • 2,213 Posts
          I'm glad to hear you got it working, and we all started somewhere wink
            Patrick | Server Wrangler
            About Me: Website | Tweets |  MODX Hosting