rejetto forum
Software => HFS ~ HTTP File Server => HTML & templates => Topic started by: Pit on November 01, 2008, 08:46:00 PM
-
Is it possible to display both infos Hash MD5 and the Upload from in the filecomment of an uploaded file?
Can anybody help me? Thanks
-
in the default tpl you see this code
{.if| %user% |{: {.append| %folder-resource%\hfs.comments.txt |{.filename|%item-resource%.}=uploaded by %user%
/append.} :}/if.}
i can imagine how it should be, but i didn't test it
{.save|%item-resource%.comment|MD5: {.md5 file|%item-resource%.}.}
{.if| %user% |{:{.append|%item-resource%.comment|
uploaded by %user%.}:}/if.}
this version doesn't use hfs.comments.txt
-
Sorry but it didn“t work. It shows me only the Hash Number.
-
Just tried it. It works here. md5 + username.
-
Thanks, now it works here. I make a mistake - Sorry :-\