We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 37437
    • 147 Posts
    When using Wayfinder, I know that you can use '&categoryFoldersTpl' to create non-clickable parent menu items, but how do you create non-clickable CHILD menu items? My client wants a specific document to be represented in the Wayfinder navigation on his site, but he does not want that item to be clickable. The problem is that the item is not a parent. The item has been assigned a unique ID, but I am not sure how to tie that unique ID to a template that removes the link. Thanks in advance for any help you may be able to offer. (I am developing the site in Revolution 2.1.1, by the way.)

    This question has been answered by multiple community members. See the first response.

    • discuss.answer
      • 22427
      • 793 Posts
      Try to use the parameter &rowIdPrefix. If f.i. you set &rowIdPrefix=`item-`, the placeholder [[+wf.id]] in the &rowTpl will get the value item-42 for document id=42, and so on.
      So in the &rowTpl you could use a modifier to remove the link dependent on the value of [[+wf.id]].
      • discuss.answer
        • 37437
        • 147 Posts
        I actually went with an Output Filter, and it handled the task for me. Appreciate the advice; thanks.