We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 34459
    • 134 Posts
    Just recently I’ve started to use wayfinder, and reached a dead end.
    I am developing a site: dissbike.pl.
    Menu works fine but not quite as I wanted to.
    1. Is it possible to make it drop down after a click?
    2. If the first one is not possible is it possible to preserve functionality but to switch off the clicking to main menu item and children?
    The thing is that It’s a bit complicate structure and I’ve just noticed that if you click a menu item (or its first children) and not hover over it, I get a blank page(container) which should be viable to viewers.
    please,please help smiley
      Check out blackflow.pl
      • 22427
      • 793 Posts
      Ad 2.:
      Set the snippet call
      [[FirstChildRedirect]]
      (and nothing else) into the content of the resources e-rowery, 2011 and 2012 etc.
      That will redirect the user to the first child of the menu item he clicked.
        • 28042 ☆ A M B ☆
        • 24,524 Posts
        You can use a couple of methods to prevent a resource from having a clickable menu item.

        &categoryFoldersTpl
        Name of the chunk containing the template for category folders. Category folders are determined by setting the template to blank or by setting the link attributes field to rel = "category".

        You need to create a custom chunk tpl for these "category folder" items, and in your case it would be the same as your rowTpl except it wouldn't have the A tags (no link).
          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
          • 34459
          • 134 Posts
          thank you! , that solves the problem for now but still I would like to make it "touch accessible". Any ideas how to do that? [ed. note: blackflow last edited this post 14 years, 6 months ago.]
            Check out blackflow.pl
            • 28042 ☆ A M B ☆
            • 24,524 Posts
            No idea what that even means.
              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
              • 34459
              • 134 Posts
              By "touch accessible" I meant that it's touch screen friendly. There is no hover state on phones or tablets thus my question is, if it's possible to drop down, after click or to make it work any other way:)
                Check out blackflow.pl
                • 28042 ☆ A M B ☆
                • 24,524 Posts
                Hm. I've known for some time now that I really need to get one of those fancy newfangled phone things.
                  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
                  • 34459
                  • 134 Posts
                  I've got a sample http://modxguru.com/6. It would be nice to include this in the next wayfinder edition.:)
                    Check out blackflow.pl
                    • 39184
                    • 24 Posts
                    @blackflow: you can use superfish for your dropdowns and it has a js included that will behave with touchscreens.
                      • 34459
                      • 134 Posts
                      what's a superfish?
                        Check out blackflow.pl