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

    I’m trying to find a way to disable the content of a container. I have a drop-down menu and I don’t want the container to be clickable. In other words, I want content only in the submenus. Is it possible?

    Thanks!
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      If you are using Wayfinder, make a chunk template for the outer row and don’t use the {+link+] placeholder.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 5405
        • 5 Posts
        I’ve made a chunk for &categoryFoldersTpl and it works like a charm!
        Thanks!
          • 27376
          • 576 Posts
          Like sotwell said:

          Make a chunk like this:
          <li[+wf.classes+]>[+wf.linktext+][+wf.wrapper+]</li>

          Then in your wayfinder snippet call, set the &parentRowTpl parameter to the chunk name you created above,

          [[Wayfinder? &parent=`0` &parentRowTpl=`rowNoLink`]]