• How do I make a CHILD menu item non-clickable? [Solved]#

  • djembe Reply #1, 5 months, 3 weeks ago

    Reply
    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.)


  • ottogal Reply #2, 5 months, 3 weeks ago

    Reply
    Try to use the parameter &rowIdPrefix. If f.i. you set &rowIdPrefix=`item-`, the placeholder in the &rowTpl will get the value item-42 for document2, and so on.
    So in the &rowTpl you could use a modifier to remove the link dependent on the value of [[+wf.id]].


  • djembe Reply #3, 5 months, 3 weeks ago

    Reply
    I actually went with an Output Filter, and it handled the task for me. Appreciate the advice; thanks.