rejetto forum

Software => HFS ~ HTTP File Server => HTML & templates => Topic started by: skb on December 22, 2014, 04:00:44 AM

Title: filelist.tpl ignored?
Post by: skb on December 22, 2014, 04:00:44 AM
I would like to get a basic file list that also gives the modification time for each file. From the docs page http://www.rejetto.com/wiki/index.php?title=HFS:_Hidden_things

I added a basic filelist.tpl text file to my C:\hfs folder, which is where I have my hfs.exe file. Then I changed to just item-name rather than item-full-url, and also added %item-modified% . Thus, my full filelist.tpl is now:

Code: [Select]
%files%

[files]
%list%

[file]
%item-name%
%item-modified%

[folder]
%item-name%


I'm running version 2.3d(292) which I just downloaded, so I hope it is current. However, the output with ~files.lst is unchanged with this filelist.tpl added; I still get the full url for the files, with no time stamps.

Here is a listing of my HFS folder:
Quote
C:\>dir hfs
 Volume in drive C has no label.
 Volume Serial Number is C8D9-DF60

 Directory of C:\hfs

12/21/2014  10:52 PM    <DIR>          .
12/21/2014  10:52 PM    <DIR>          ..
12/21/2014  08:54 PM               404 bus-files.vfs
12/21/2014  10:20 PM                94 filelist.tpl
12/21/2014  08:24 PM         2,499,072 hfs.exe
12/21/2014  10:52 PM             3,956 hfs.ini
12/21/2014  08:22 PM    <DIR>          servedfiles
               4 File(s)      2,503,526 bytes
               3 Dir(s)  206,939,844,608 bytes free

I've tried "Debug > Temporarily Reset Options" and it made no difference.

Am I missing something obvious? Seems like this should just work
Title: Re: filelist.tpl ignored?
Post by: SilentPliz on December 22, 2014, 10:32:03 AM
Hi!


filelist.tpl is named now hfs.filelist.tpl
Title: Re: filelist.tpl ignored?
Post by: skb on December 22, 2014, 11:31:13 PM
Awesome, thanks!

(Can someone with wiki credentials add hfs. to the doc page at http://www.rejetto.com/wiki/index.php?title=HFS:_Hidden_things  ?)
Title: Re: filelist.tpl ignored?
Post by: LeoNeeson on December 23, 2014, 07:19:09 AM
(Can someone with wiki credentials add hfs. to the doc page at http://www.rejetto.com/wiki/index.php?title=HFS:_Hidden_things  ?)
OK, I'll do that when my wiki account is approved.
Title: Re: filelist.tpl ignored?
Post by: Mars on December 23, 2014, 01:00:45 PM
the change was made : filelist.tpl  => hfs.filelist.tpl