We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 20761
    • 27 Posts
    hello,
    i want to make two menu’s on my site.

    the first one works fine, if it is the only dropmenu on the site.
    this is the call: [!DropMenuII!]

    but when i call it a second time in the template, like this:
    [[DropMenuII?startDoc=2]]

    then, between the menu of the first call strange things suddenly appear, like "top1 0" between each row.

    what is this, and what am i doing wrong?


    thanks in advance and please excuse my poor english.

    greetings!
      • 7923
      • 4,213 Posts
      I would suggest to try build your menus with Wayfinder.. I’m pretty sure it can run multiple times on a page..


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
      • You can use as many DropMenu calls on a page as you like. Is this a hacked version?
          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
          • 7923
          • 4,213 Posts
          I think its the activeTreeOnly version, atleast I’ve had the same thing with it.. (btw, wayfinder has that feature built in).

          But what’s this about then, if dropmenu should work multiple times on a page just fine?

          In anycase, you are better of with Wayfinder.


            "He can have a lollipop any time he wants to. That's what it means to be a programmer."
          • Well, I suppose too many calls with a big site would pack up the database. I’ve used the basic version up to four times on one document with no trouble, but with only a dozen or so pages. You will have trouble using a hacked version on the same page as a non-hacked, or differently-hacked, version.
              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
              • 20761
              • 27 Posts
              Quote from: doze at Aug 05, 2006, 04:49 PM

              I think its the activeTreeOnly version, atleast I’ve had the same thing with it.. (btw, wayfinder has that feature built in).

              But what’s this about then, if dropmenu should work multiple times on a page just fine?

              In anycase, you are better of with Wayfinder.

              yes, it is the activetreeonly-vversion!

              i am now using wayfinder and it is working great....

              thank you!