rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: radd on August 09, 2007, 05:35:33 PM

Title: way to view archive folder
Post by: radd on August 09, 2007, 05:35:33 PM
this is what my friend say, "archive folder should be place outside the folder, so people can download it before o[en the folder." i think she was right.

we can see in terayon and ToG, file such as mp3, wmv and jpg have special links (called quicklinks and extra). im thinking of having a link to ~folder.tar?recursive for folder that display such that. surely we can just add that link, but the problem is if the folder set not to allow archive download, the link is still present. so, if visitor click on this link, it will point to error page.

what im trying to say is, is there any way to only view the link for folder that archivable, and hide for non-archivable folder. any ideas?

thanks
Title: Re: way to view archive folder
Post by: MarkV on August 09, 2007, 06:07:33 PM
If you had a folder with many items, you could spare the time it requires to open it. It should be a simple template change to place the 'archive' link after the folder (or before).
Title: Re: way to view archive folder
Post by: Giant Eagle on August 09, 2007, 10:04:58 PM
what im trying to say is, is there any way to only view the link for folder that archivable, and hide for non-archivable folder. any ideas?

a variable thing like %item-archive-link% inside the [folder] tag which eventually results in [archive-link]

I noticed rejetto has gone away for a while now, but lets ask this nicely when he comes back ^^
Title: Re: way to view archive folder
Post by: TSG on August 10, 2007, 01:36:29 AM
nice idea, i don't like having a link there if you cant decide to show it or not, thats why i haven't implemented this permanently in the Quicklinks. we need the %archive% thingo to detect if that folder is archive enabled from the outside...
Title: Re: way to view archive folder
Post by: rejetto on August 13, 2007, 11:32:41 AM
i will work on it
Title: Re: way to view archive folder
Post by: radd on August 13, 2007, 12:41:27 PM
thanks, rejetto
Title: Re: way to view archive folder
Post by: rejetto on September 15, 2007, 04:21:13 AM
included in next build
Title: Re: way to view archive folder
Post by: yhm_7 on September 15, 2007, 01:40:45 PM
this is what my friend say, "archive folder should be place outside the folder, so people can download it before o[en the folder." i think she was right.

I think Before people download this folder he shoule get into folder to know what's in it and totle folder size.

So it's unnecessary to add link outside folder.
Title: Re: way to view archive folder
Post by: yhm_7 on September 15, 2007, 01:57:20 PM
I am wrong. It's necessary.

when a folder include index.htm file in it and you have set default file mask:index.htm,people can't get into folder. Sometimes you disable "~nodefault" or it'a not known by user.