We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 30472
    • 10 Posts
    I have successfully used wayfinder to generate my menus.
    The problem Im having is changing the default templates.
    If for example I use &outerTpl in the snippet call where is the actual outerTpl editable?
    Hopefull this makes sense because the documentation has all the Template Parameters
    but where are these?
    Do I create a template variable called outerTpl and but my code in there?

    Any help will be much appreciated?
      • 4310
      • 2,310 Posts
      Create a chunk named myOuter and & then use
      &outerTpl=`myOuter`
      in the snippet call.
      Have a look at MuddyDogPaws for examples and instructions.
        • 30472
        • 10 Posts
        Hi

        Thats what I was doing but my snippet was not in my template but in the content variable for the page.
        Got it working. Can I ask one more question. In the documentation it has the following.
        <li[+wf.id+][+wf.classes+]><a href="[+wf.link+]" title="[+wf.title+]" [+wf.attributes+]>[+wf.linktext+]</a>[+wf.wrapper+]</l

        where is wf.classes editable?
          • 4310
          • 2,310 Posts

          &firstClass
          default: NULL
          values: name of class
          description: The firstClass will be applied to the first item displayed for each level.
          &lastClass
          default: last
          values: name of class
          description: The lastClass will be applied to the last item displayed for each level.
          &hereClass
          default: active
          values: name of class
          description: The hereClass will be applied to the current item and to each parent up the document tree.
          &selfClass
          default: NULL
          values: name of class
          description: The selfClass will be applied to the current item only.
          &parentClass
          default: NULL
          values: name of class
          description: The parentClass will be applied to each item that has children (is a folder).
          &rowClass
          default: NULL
          values: name of class
          description: The rowClass will be applied to each item being displayed.
          &levelClass
          default: NULL
          values: name of class
          description: The levelClass will be applied to each item denoting each items level, the level number will be added to the specified class (i.e. level1, level2, level3, etc...)
          &outerClass
          default: NULL
          values: name of class
          description: The outerClass will be applied to the outerTpl container.
          &innerClass
          default: NULL
          values: name of class
          description: The innerClass will be applied to the container used in the innerTpl.
          &webLinkClass
          default: NULL
          values: name of class
          description: The webLinkClass will be applied to all weblinks included in the output.
          It’s in the documentation and on the web site! wink