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

    Does anyone know how to make a "webpage" not clickable?

    Example:

    Newsletter
    - Year 2010
    - Year 2009

    What I want to do is to display Newsletter as a header and only allow Year 2010 and Year 2009 clickable.

    Thanks and regards,
    Wayne.
      • 27442
      • 103 Posts
      Is this being created with Ditto or Wayfinder or by hand or something else?
        • 36692
        • 13 Posts
        I'm having this same question. I'm generating a menu with Wayfinder, and for the sake of discussion, let's say the (fictional) menu is File and there's Open and Close items under it.

        I don't want File to be a clickable item in the menu.

        Right now, I'm using a WebLink as a container for Open and Close pages, which works, but it forces me to have the File WebLink point somewhere, which I don't want. Is there a way to accomplish this?
          • 3109 ☆ A M B ☆
          • 894 Posts
          I think you can use &startItemTpl and that will set the first item of the li to whatever you specify in your chunk.

          I'm not 100% sure but if I understand correctly that's what it's for.

          More Info

          Another option you can do is this:

          
          <ul>
                  <li>Navigation</li>
                	[[!Wayfinder? &startId=`0` &level=`1` &outerTpl=`wayfinder-outer-tpl`]]
              </ul>
          
          


          And have your outerTpl be something like this:

          
          [[+wf.wrapper]]
          
          


          Hope that helps.
            Benjamin Marte
            Interactive Media Developer
            Follow Me on Twitter | Visit my site | Learn MODX