rejetto forum

Author Topic: Sort by default  (Read 3463 times)

Offline Mars

  • Operator
  • Tireless poster
  • *****
  • Posts: 2059
    • View Profile
Re: Sort by default
« on: January 23, 2018, 06:13:00 PM »
Hello
the sorting option imposed in the hfs menu can be bypassed by a little known option (forgotten would be the best suited)

in the model, create a new section named [sort by]

it must have only one letter among them  n , e , s , t , d , c ,

   'n': sort by NAME
   'e': sort by EXTENSION
   's': sort by SIZE
   't': sort by TIME
   'd': sort by DOWNLAODs
   'c': sort by COMMENTs

to invert default sorting it is enough to precede the letter by one  "!"

if you wish to reverse only the direction, leaving the choice defined in the application, then put only the character  ! without any letter

for example, if you have to sort by reversed HITS, then use this formulation
[sort by]
!d


if you put it in the main template, it will apply to all the web pages, if you only want it to act on some folders, it will have to be placed in the diff-template part of those folders individually

« Last Edit: January 23, 2018, 06:31:41 PM by Mars »

Follow members gave a thank to your post:


Thank-o-Matic 3.0 By Adk Team