Parameters That Specify The Order in Which to List Documents

Parameters That Specify The Order in Which to List Documents

ParameterDescriptionValue TypeLegal ValuesDefault ValueComments
&sortBy By default Wayfinder sorts lists and sub-lists by the value of the menuindex document field. But with this parameter you can choose from a variety of other fields to sort by. Note that all lists and sub-lists (all levels) will be sorted by the field you choose here. one of the following predefined terms.
  • random (on each run, randomizes the order of the output) [why isn't this in &sortOrder ???]
  • id
  • menutitle
  • pagetitle
  • introtext
  • menuindex
  • published
  • hidemenu
  • parent
  • isfolder
  • description
  • alias
  • longtitle
  • type
  • template
menuindex  
&sortOrder By default Wayfinder sorts each list and sub-list in ascending order. With this parameter you can change to descending order. Note that in either case the sort order is the same for all lists and sub-lists (all levels) in the generated output. One of the following predefined terms.
  • ASC (for an ascending sort)
  • DESC (for a descending sort)
ASC  

PR

  • KAGOYA
  • ASP at AKIHABARA Japan
  • CMS AWARDS 2007 Winner
ページトップへ