rejetto forum

Software => HFS ~ HTTP File Server => Bug reports => Topic started by: mhoney on October 30, 2015, 07:26:14 PM

Title: How to remove comment?
Post by: mhoney on October 30, 2015, 07:26:14 PM
I hope this isn't a stupid question, but how do you get rid of a comment from the web interface?
Title: Re: How to remove comment?
Post by: Mars on October 30, 2015, 11:26:27 PM
edit template and change
option.comment=1   to   option.comment=0
Title: Re: How to remove comment?
Post by: mhoney on October 31, 2015, 01:24:40 PM
So there is no way to remove a comment once it has been added from the web interface?  What you purpose appears to turn comments off completely.
Title: Re: How to remove comment?
Post by: bmartino1 on October 31, 2015, 06:09:32 PM
why not re-edit the comment to be blank?

is that even possible?

did you make you comment in hfs VFS, or via a text file?

http://www.rejetto.com/wiki/?title=HFS:_Comment_files
http://www.rejetto.com/forum/hfs-~-http-file-server/how-to-disable-the-comments-txt-file-from-being-made-when-a-file-is-uploaded/

http://www.rejetto.com/wiki/index.php?title=Main_Page
Title: Re: How to remove comment?
Post by: Mars on October 31, 2015, 10:11:13 PM
have a look at [ajax.move|no log] section in default template

this section manages and moves  files by using the comment seting

{.set item|full_filename|comment=.}

if user can upload files in a folder , he hass access to modify comment of files after upload
Title: Re: How to remove comment?
Post by: rejetto on November 01, 2015, 02:09:21 PM
if i recall correctly, when you set an empty comment, it is actualy deleted
Title: Re: How to remove comment?
Post by: Dave987 on November 03, 2015, 09:18:35 PM
if i recall correctly, when you set an empty comment, it is actualy deleted

From my experience, that is correct. Using the default template, just select the file(s) you want to delete the comment on, and click the "comment" button.  Delete all the text in the pop-over box, and close it.  That should be all.