We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 2901
    • 277 Posts
    Hi all
    is there a way to implement access keys into wayfinder?

    thanks
      • 26178
      • 32 Posts
      I don’t think you can do this directly.

      This is how I would go for it:

      1. Create a TV (accessKey)
      2. Create a chunk-template to format a row in WF, wich would look like this:

      <li[+wf.id+][+wf.classes+]>
      	<a accesskey="[[getField? &docid=[+wf.id+] &field=`accessKey`]]" href="[+wf.link+]" title="[+wf.title+]" [+wf.attributes+]>[+wf.linktext+]</a>
      	[+wf.wrapper+]
      </li>
      


      And that’s it!

      (I used getField snippet, which you can find here: http://modxcms.com/getField-667.html)

      I’m not sure about this solution. Any other suggestions?



        • 2901
        • 277 Posts
        SOLVED

        you can add the access key in the link options in the document.

        this tool is really great
          • 26178
          • 32 Posts
          so easy! grin
            • 4095
            • 372 Posts
            I used to use acess keys with drop menu, but hadn’t got around to doing it with Wayfinder. With this great tip it was too easy.

            Thanks.

            Quote from: bbeer at Dec 21, 2006, 12:01 PM

            SOLVED

            you can add the access key in the link options in the document.

            this tool is really great
              [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
              • 17717
              • 433 Posts
              Hi all,

              I know this is an old thread, but I am trying to implement access keys with wayfinder. I have the access key text passed to the url put the id doesn’t seem to get added, here is the url for the menu item:

              <li class="active">
              	<a accesskey="" href="index.html" title="Welcome" >01 Homepage</a>
              	
              </li>
                http://www.blend.uk.com | Web Design by Blend