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

    I am learning Revolution and have droblem with creating the dropdown function on my testweb with wayfinder . I can see the horizontal line but none of the other menues below.
    see site www.test.grandtripsweden.com

    [[Wayfinder? &startId=`0` &level=`1` &outerClass=`dropdown dropdown-horizontal`]]

    What am i doing wrong?

    regards
    Rickard
      • 36926
      • 701 Posts
      Quote from: rickardbe at Sep 01, 2010, 09:06 AM

      Hi!

      I am learning Revolution and have droblem with creating the dropdown function on my testweb with wayfinder . I can see the horizontal line but none of the other menues below.
      see site www.test.grandtripsweden.com

      [[Wayfinder? &startId=`0` &level=`1` &outerClass=`dropdown dropdown-horizontal`]]

      What am i doing wrong?

      regards
      Rickard

      What items should have a drop down menu, have you published these documents?

      EDIT
      You’ve also got you nav appearing within a UL. So it like this:
      <ul id="nav">
      <ul class="dropdown dropdown-horizontal">

      The first UL also isn’t closed.

        • 25029
        • 22 Posts
        Hi!

        Thanks for replying.

        The structure should be like this (in the test environment)
        Home
        -testa (child)
        Blog
        Modx features
        -menus and lists (child)
        - manage content (child)
        - extendability (child)
        Getting help

        and so on........

        all the resources are published. i am working with the aquarious template (some may have different templates, standard modx default)

        What should i write in the template
        <ul id="nav">
        <ul class="dropdown dropdown-horizontal">

        is this the correct way that you have wrote above.

        <ul id="nav">
        <ul class="dropdown dropdown-horizontal">


        [[Wayfinder? &startId=`0` &level=`1` &outerClass=`dropdown dropdown-horizontal`]]

        </div>



        Thanks a lot...

        Rickard

          • 36926
          • 701 Posts
          Quote from: rickardbe at Sep 02, 2010, 03:30 AM

          What should i write in the template
          <ul id="nav">
          <ul class="dropdown dropdown-horizontal">

          is this the correct way that you have wrote above.

          <ul id="nav">
          <ul class="dropdown dropdown-horizontal">


          [[Wayfinder? &startId=`0` &level=`1` &outerClass=`dropdown dropdown-horizontal`]]

          </div>

          Have you got you navigation working within static html, so if you manually create the nav in the html without the use of wayfinder. If not i’d recomend doing this first as it’s then easier to break up and create the correct wayfinder templates.

          But any how you don’t need to nest a ul within another ul. Also don’t put the wayfinder call within the <ul>. Just make your outerClass chunk contains the UL, so for example:

          <ul id="nav" class="dropdown dropdown-horizontal"[[+wf.classnames]]>
          	[[+wf.wrapper]]
          </ul>
          


          You may need to adjust the CSS as the id=nav is now applied to the same UL with the dropdown class.

          You will also need an &innerTpl in the wayfinder call. Give the chunk somthing like:
          <ul[+wf.classes+]>
          	[+wf.wrapper+]
          </ul>
          

            • 25029
            • 22 Posts
            Thanks for your help..

            do you think this drop down meny will work for me www.test.grandtripsweden.com

            regards

            Rickard