We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 11975
    • 2,542 Posts
    You should chek the spelling of your snippet.
    Perhaps is it a typo
    WayFinder
    wayFinder
    Wayfinder
      Made with MODx : [url=http://www.copadel.com]copadel, fruits et l
      • 7923
      • 4,213 Posts
      I have done some of the new cssplay menus to wayfinder package. Haven’t cheked are they included or not. There should also be a littlebit better ’documentation’. If they are not included, find em here www.netguru.fi/Wayfinder_beta.zip but dont use the snippet code. To the hiding/showing elements on active parent, i see few options. Could use hideSubMenus parameter to only show childs in active tree and/or dont put wf.wrapper placeholder to parent template to disable childs..


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
        • 11975
        • 2,542 Posts
        Quote from: web_designer at Sep 21, 2006, 01:53 PM


        I should also say I’m using MODx 9.5. Although wayfind did work with the old call posted on here

        Tested locally with 0.9.5 rev1417, everything is fine.
        As I said in a post above it looks like a typo in the snippet name

        :-)
          Made with MODx : [url=http://www.copadel.com]copadel, fruits et l
          • 4095
          • 372 Posts
          Just a quick heads up that the flyout menu wont work on mobile explorer which is used on pocket PCs and mobile phones that use pocket PC.

          This is due to it not being able to "hover". Its not a WayFInder issue but worth noting as I just changed my site to use Flyout and I got a call saying the CEO could not longer access the menus... doh.

          Will need to make an alternative style sheet for Mobile users

          Try http://www.opera.com/products/mobile/operamini/demo.dml to see what your menu looks like in Opera mobile (which has more support than IE Mobile)
            [img]http://www.emanz.ac.nz/assets/images/logo/emanz-icon_16x16.gif[/img] Emergency Management Academy of New Zealand [br] http://www.emanz.ac.nz[br][br]MODx Sandbox Login: sandbox Password: castle [br]
            Admin Sandbox Login: sandbox Password: castle
            • 31654
            • 238 Posts
            Quote from: heliotrope at Sep 21, 2006, 02:03 PM

            You should chek the spelling of your snippet.
            Perhaps is it a typo
            WayFinder
            wayFinder
            Wayfinder


            OK, OK, it was late... my brain was dead!... I lazely copied-n-pasted from the post and didn’t see the typo!

            Ok. So let’s go.

            SAMPLE CODE
            [[WayFinder? &startId=0...


              Web Development, Web Hosting & Search Engine Marketing by:

              Vitalized | UK
              w. www.vitalized.co.uk

              Website Design | Search Engine Marketing (SEM) | UK MODx web hosting, secure, fast & 100% MODx compatible

              Vitalized | Australia
              w. www.vitalized-australia.com.au

              Website Design | Search Engine Marketing (SEM) | Australian MODx web hosting, secure, fast & 100% MODx compatible
              • 6726
              • 7,075 Posts
              Quote from: heliotrope at Sep 21, 2006, 08:57 AM
              P.S: could be improved for class but I have no more time today

              EDIT: tested with wayfinder Beta 3

              EDIT 2: some of the chunks could be unuseful , look at the comment <!-- --> in the output code to know which chunks are not necessary

              EDIT 3: demo ==> http://www.dixsix.fr/contribs/wayfinder-cssplay-flyout.php
              Seems buggy after 4 levels. I’ve haven’t investigated to know which is involved (missing class - css code)

              Too bad I didn’t see this post earlier, or Doze’s for that matter... I did the same job 3 days ago rolleyes
              It seems you have also adapted the latest Flyout2 (early september), from what I am seeing...

              You just need innerTpl and outerTpl to have the menu working, but you’ll have to add an hereClass if you want the active class defined and working. Didn’t get to that yet...

              About the 4 levels, I don’t think it’d be wise anyway to go beyond that, it’s already one level too deep IMHO...

              Quote from: Briggsy at Sep 21, 2006, 06:53 PM
              This is due to it not being able to "hover". Its not a WayFInder issue but worth noting as I just changed my site to use Flyout and I got a call saying the CEO could not longer access the menus... doh.

              You mean unable to hover links ?
              Stu’s menu does not require an .htc file, I assumed this would work with mobiles...
                .: COO - Commerce Guys - Community Driven Innovation :.


                MODx est l&#39;outil id
                • 11975
                • 2,542 Posts
                @ davidm:
                ;D that’s exactly what came to my mind after posting this remark. Who needs more than 4.
                  Made with MODx : [url=http://www.copadel.com]copadel, fruits et l
                  • 31979
                  • 26 Posts
                  I would like to propose an addition to wayfinder, in order to allow index numbers as link text.

                  You would call wayfinder as follows:

                  [!Wayfinder? &textOfLinks=`index`!]

                  For a demo of this menu type have a look at: (I am currently migrating this site to MODx)

                  http://www.waso.com/villen.phtml

                  This is the code change to wayfinder.inc.php (line number 95 ff)

                                  $useTextField = (empty($v[$this->textOfLinks])) ? 'pagetitle' : "$this->textOfLinks";
                  
                                  // Allow an index number as link text
                                 if ("$this->textOfLinks" == 'index') {
                                      $v['linktext'] = $n+1;
                                      $v['linktext'] = '[' . $v['linktext'] . ']';
                                  } else {
                                      $v['linktext'] = $v[$useTextField];
                                  }
                  
                    www.waso.com
                    • 31654
                    • 238 Posts
                    but you’ll have to add an hereClass if you want the active class defined and working. Didn’t get to that yet...

                    How do you do that? huh

                      Web Development, Web Hosting & Search Engine Marketing by:

                      Vitalized | UK
                      w. www.vitalized.co.uk

                      Website Design | Search Engine Marketing (SEM) | UK MODx web hosting, secure, fast & 100% MODx compatible

                      Vitalized | Australia
                      w. www.vitalized-australia.com.au

                      Website Design | Search Engine Marketing (SEM) | Australian MODx web hosting, secure, fast & 100% MODx compatible
                      • 6726
                      • 7,075 Posts
                      Just add a &hereClass parameter, if you want to define a class name, otherwise the default class is .here.
                      I am not even sure you have to define a &hereTpl for it to work, but if you want to control the ouput, might be better to do so.

                      Then, it’s gonna be a matter of integrating the classes into the cascade of the Flyout menu, here is the real work tongue
                        .: COO - Commerce Guys - Community Driven Innovation :.


                        MODx est l&#39;outil id

                      This discussion is closed to further replies. Keep calm and carry on.