rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: gtomas on December 21, 2006, 07:36:41 PM

Title: Two newbie questions
Post by: gtomas on December 21, 2006, 07:36:41 PM
1) How do I sort files by date? Right now the files are sorted by name and I'd like the newest additions to appear at the bottom?

2) I answered yes to the "Update available. Update to new version?" and lost all my hits records. How can I avoid this loosing hits in the future?

Thanks for your help!


Regards,
Goran Tomas
Title: Re: Two newbie questions
Post by: maverick on December 21, 2006, 08:38:53 PM
1) How do I sort files by date? Right now the files are sorted by name and I'd like the newest additions to appear at the bottom?

If you are using the default template, you will see a heading that shows ...
"Filename      Filesize    Filetime    Hits"

Click on your choice of heading to sort.  You want to sort by newest file so click on "Filetime".  The sort method is from newest file to oldest file. 

Quote
2) I answered yes to the "Update available. Update to new version?" and lost all my hits records. How can I avoid this loosing hits in the future?

Menu --> Save Options --> Auto-Save Options on Exit
Menu --> Start/Exit --> Auto-Save VFS on Exit
Title: Re: Two newbie questions
Post by: gtomas on December 21, 2006, 08:50:38 PM
If you are using the default template, you will see a heading that shows ...
"Filename      Filesize    Filetime    Hits"

Click on your choice of heading to sort.  You want to sort by newest file so click on "Filetime".  The sort method is from newest file to oldest file.

Thanks for your help!

Is there a way to make this listing (by date) default? It seems everytime I log in, the sorting is back to the name...


Regards,
Goran Tomas
Title: Re: Two newbie questions
Post by: maverick on December 21, 2006, 08:56:59 PM
Is there a way to make this listing (by date) default? It seems everytime I log in, the sorting is back to the name...

The filelist defaults to sorting by filename (alphabetically - ascending) which seems to have priority.
Title: Re: Two newbie questions
Post by: gtomas on December 21, 2006, 09:27:56 PM
Is there a way to change a priority?


Regards,
Goran Tomas
Title: Re: Two newbie questions
Post by: maverick on December 21, 2006, 09:42:56 PM
Is there a way to change a priority?

rejetto will probably read this thread.  He might have a solution.
Title: Re: Two newbie questions
Post by: rejetto on December 22, 2006, 03:00:42 PM
well, i think the best thing is to introduce an option for it. future versions.


In the while, you can edit the template, [folder] section, and replace %item-url% with %item-url%?sort=t.
This won't apply to the root, but you can workaround this in several ways. The easiest way is to move all things to a subfolder. Another way, without moving anything but much more complex, is to introduce a redirecting html page that will be the default page, and it will redirect to /~nodefault?sort=t
Title: Re: Two newbie questions
Post by: rejetto on January 17, 2007, 05:25:40 PM
done in build 082
www.rejetto.com/forum/?topic=3791.msg1021139#msg1021139
Title: Re: Two newbie questions
Post by: gtomas on January 22, 2007, 06:20:23 PM
Great! Thank you  :)


Regards,
Goran Tomas