Skip to content
General Revolution Evolution Add-ons International
Login | Register | MODX.com
MODX Open Source Content Management System, Framework, Platform and More.
Find a Partner | Hosts + SaaS | Jobs | Donate
  • RegisterSign Up with the MODX Community
  • LoginUse Your MODX.com Account
  • MODX Community Forums
  • Add-ons
  • Navigation & Tagging/Taxonomy
  • Wayfinder
  •  
  • Problem with Wayfinder and &sortBy#

  • 38516
    3

    tanyril Reply #1, 3 months, 3 weeks ago

    Reply
    • Link to this post#1
    I'm having some trouble with wayfinder. Any time I specify &sortBy it seems to default to sorting by the ID of the resources. If I don't specify &sortBy it will sort by the menu index. Also, &sortOrder doesn't seem to work either.

    Here's the call, maybe I've got some syntax wrong or something?
    [[!Wayfinder? &startId=`2` &hereClass=`current_page_item` &ignoreHidden='true' &limit=`10` &sortBy='pub_date' &sortOrder='DESC']]


    Any help will be greatly appreciated.
    Edited 3 months, 3 weeks ago by tanyril


  • 38516
    3

    tanyril Reply #2, 3 months, 3 weeks ago

    Reply
    • Link to this post#2
    Never mind. I solved my problem.
    Apparently the 's i was using were wrong for those.


  • 28042
    15,112
    How MODx Evo Works

    Log in to an Evo Manager username guest, password guestuser.

    sottwell Reply #3, 3 months, 3 weeks ago

    Reply
    • Link to this post#3
    Those have to be backticks `...` not single-quotes '...'

    [edit] Heh. I see you caught that yourself. Careful, you have them in another parameter as well.


  • 38516
    3

    tanyril Reply #4, 3 months, 3 weeks ago

    Reply
    • Link to this post#4
    Yep, got it. Thanks!
    I actually was able to tell because I installed Codemirror figuring it was something along those lines. The difference is almost imperceptible without special formatting





Actions

Login to Post

Other Support Options

To file a bug or make a feature request visit our issue tracker, or you can also purchase commercial support.

Love MODX?

If you build sites for a living with MODX or just love using it, why not give back?

Information

Posted in this thread:
sottwell, tanyril

 
Back to Top

MODX Global HQ

1333 N Stemmons Fwy, Ste 110
Dallas, TX 75207
United States

+1 (469) 777-MODX (6639)

The MODX Company

  • Contact
  • Media Center
  • Careers at MODX
  • Wall of Fame
  • The MODX Blog

Sponsors

SoftLayer Firehost: Secure Cloud Hosting

Stay Connected

Read our previous email newsletters.

Twitter Facebook Google+ LinkedIn github Feeds

Privacy Policy | Terms of Service | Pixels by AKTA Web Studio© 2005-2012 MODX. All rights reserved. Trademark Policy