We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 26422
    • 107 Posts
    I have a site that has 2 levels. The client does not want the top level to be clickable (only the drop down second level). How do I accomplish this? I am using the latest 2.0 Revolution.

    Thanks,
    Crawford
      Crawford Paul

      Bridgecourt Web Design - Proudly using ModX CMS
      Serving Welland, Niagara, Ontario, Canada and the world!
      http://www.bridgecourt.com
      • 19328
      • 433 Posts
      Hi Crawford,

      You need to add to your [[!Wayfinder? call this:
      &hereTpl=`tplMainMenuItemSelected`


      Create a chunk named "tplMainMenuItemSelected" and create a menu-item with the regular placeholders, but leave the <a> tags. Something like this:
      <li[[+wf.id]][[+wf.classes]]><span>[[+wf.linktext]]</span></li>


      Or use the $categoryFoldersTpl. See http://rtfm.modx.com/display/ADDON/Wayfinder

      Hope this helps!