Forum OpenACS Development: Comments on files in file storage
Future Improvements/Areas of Likely Change Allow people to comment on files (and versions and folders?)This was in 3x. Has anyone done this yet for 4x?
Index: file.tcl =================================================================== RCS file: /usr/local/cvsroot/ssv2/packages/file-storage/www/file.tcl,v retrieving revision 1.6 diff -r1.6 file.tcl 91c91,92 < --- > set gc_link [general_comments_create_link $file_id "[ad_conn url]?file_id=$file_id"] > set gc_comments [general_comments_get_comments $file_id]
And corresponding changes to display in file.adp..not shown because bbaord doesn't like the tags.
If general-comments is not mounted it just quietly does nothing.
Should this go into to OACS? I'd say yes, its good to have examples of how the packages work together. Do we need to put a check to see if general-comments is installed?
You may want to make it a package parameter so you can turn it off.
I did run into a couple of problems that relate to dotLRN. I'm going to post about them in the dotlrn forum now.