rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: TCube on February 14, 2008, 10:01:49 AM

Title: Ability to sort ?
Post by: TCube on February 14, 2008, 10:01:49 AM
Hello to U all,

This might not be as tedious as to read recent posts about "macros" and "Rawr"    ;D ... it's a simple question, mainly about how to get a user friendly interface.

Is it possible to sort different folders - for example by "name", by "hits", "dates" ... and keeping these folders showing their specific sorting ways to connected users ?

Another way around : does "sort" is : "a one size fits all" ? 
Thks
Tcube
Title: Re: Ability to sort ?
Post by: Giant Eagle on February 14, 2008, 10:11:37 AM
What you request will require cookies, hmm

{{cookie|name|value}} anyone?
Title: Re: Ability to sort ?
Post by: TSG on February 14, 2008, 11:19:49 AM
Sorry TSG, what ask Tcube is not about cookies but your macro {{cookie|name|value}} is interesting.

Ermm Giant Eagle you mean lol.

{{header|cookie}}

Will reveal all cookies set by javascript.

The ability to set  cookies would be interesting, but I do not think there is a way to do it without javascript as it stores in the browser for that domain.

Sort is a one size fits all solution atm. You can specify default sorting in... Other options > Default sorting.
Title: Re: Ability to sort ?
Post by: rejetto on February 14, 2008, 02:07:43 PM
I'm not sure what you mean Tcube.
Are you asking for a "default sorting" specific for each folder?
Title: Re: Ability to sort ?
Post by: TSG on February 14, 2008, 02:13:49 PM
I'm not sure what you mean Tcube.
Are you asking for a "default sorting" specific for each folder?

Ye thats what I gathered from his post.
Title: Re: Ability to sort ?
Post by: TCube on February 14, 2008, 02:36:27 PM
yes Rejetto.
Would be nice as I use few basics diff. templates (avi/mp3/doc/hotlinks/...)  to have different sorting.
(i.e hotlinks per date / mp3 per name/...)
Thks Mars the idea U mentionned [%item-default-sorting%] would suit without too much life complication I guess.
TCube
Title: Re: Ability to sort ?
Post by: rejetto on February 14, 2008, 03:19:49 PM
You'll find from next beta.

Just put this in the diff template
Code: [Select]
[sort by]
time

accepted values are time/size/hits/ext/comment/name
"!time" will sort by time in reversed order
Title: Re: Ability to sort ?
Post by: TCube on February 14, 2008, 04:04:08 PM
 8) merci Rejetto