We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 19298
    • 76 Posts
    MichaelHarringtonDesigns Reply #1, 16 years ago
    Hello

    I am using Modx Revoloution 2.0.2pl I cannot get my drop down menu to work. Which is using Wayfinder 2.1.1
    I have read this blog post http://modxcms.com/forums/index.php?topic=36913.0

    I have tried using this call in Revoloution 2.0.2 but it still does not work.
    [[!Wayfinder? &startId=`0` &level=`3` &parentClass=`hide` &parentRowTpl=`cssplay_parentRow` &outerTpl=`cssplay_outer` &innerTpl=`cssplay_inner` &rowTpl=`cssplay_row` &outerClass=`menu` &cssTpl=`cssplay_dropdown` ]]

    My Chunks are:

    cssplay_parentRow:

    <li><a [[+wf.classes]] href="[[+wf.link]]" title="[[+wf.title]]">[[+wf.linktext]]</a>
    <!--[if lte IE 6]>
    <a class="sub" href="[[+wf.link]]" title="[[+wf.title]]">[[+wf.linktext]]
    <table><tr><td>
    <![endif]-->
    [[+wf.wrapper]]
    <!--[[if lte IE 6]]>
    </td></tr></table>
    </a>
    <![endif]-->
    </li>

    cssplay_outer:

    <div[[+wf.classes+]]>
    <ul>
    [[+wf.wrapper]]
    </ul>
    </div>

    cssplay_inner:

    <ul>
    [[+wf.wrapper]]
    </ul>

    cssplay_row:

    <li[[+wf.classes]]><a href="[[+wf.link]]" title="[[+wf.title]]">[[+wf.linktext]]</a>[[+wf.wrapper]]</li>

    cssplay_dropdown:

    <link rel="stylesheet" media="all" type="text/css" href="assets/templates/wayfinder/dropdown.css" />
    <!--[if lte IE 6]>
    <link rel="stylesheet" media="all" type="text/css" href="assets/templates/wayfinder/dropdown_ie.css" />
    <![endif]-->

    I thought I had upgraded all of the tags can anyone spot what I am doing wrong?

      • 19298
      • 76 Posts
      MichaelHarringtonDesigns Reply #2, 16 years ago
      Lol I changed

      Chunk
      cssplay_outer: to

      <div[[+wf.classes]]>
      <ul>
      [[+wf.wrapper]]
      </ul>
      </div>

      The drop down menu works now