We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25276
    • 8 Posts
    I’m trying create a simple footer with top level navigation, something like this:

    (c) 2008 ACME, Inc. All rights reserved. Home | Options | Support | Contacts

    from the wayfinder documentation, it appears that I should be able to change the outer html element using $outerTPL and then pointing it at a chunk. However, when I try this, wayfinder still uses and unordered list element.

    Can I do what I want to do? If so, how?

    Thanks in advance.

      • 4310
      • 2,310 Posts
      What is your Wayfinder call and outerTpl chunk?
        • 7231
        • 4,205 Posts
        $outerTPL is not a valid syntax. It should be &outerTpl=`chunk-name`.
          [font=Verdana]Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

          Something is happening here, but you don't know what it is.
          Do you, Mr. Jones? - [bob dylan]
          • 25276
          • 8 Posts
          The wayfinder call is as follows:


          <div id="footer">
          <p align="center">
          &copy;2008 ACME, Inc. All rights reserved.
          [[Wayfinder? &outerClass=bottomMenu &startId=`0` &outerTpl=’bottomMenuOuter’ &rowTpl=`bottomMenuRow`]]
          </p>
          </div>

          And the &outerTpl chunk is as follows:

          <span id="bottomMenu">[+wf.wrapper+]</span>

          Thanks!
            • 25663 MODX Staff
            • 12,272 Posts
            Missing backticks and using single-quotes will cause your problems. Change your call:
                    [[Wayfinder? &outerClass=`bottomMenu` &startId=`0` &outerTpl=`bottomMenuOuter` &rowTpl=`bottomMenuRow`]]
            
            
              Ryan Thrash, MODX Co-Founder
              Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
              • 25276
              • 8 Posts
              That was it. Thanks!