Hi Harikrishnan, the real problem I'm facing is how to link together comments and attachments: because when loading one page I should be able to retrieve the comment with the corresponding attachment.
Vito V. Harikrishnan Nair wrote: > Hi Vito, > > You can create an 'add attachment' button which appears after the 'add > comment' button is pressed... > > Harikrishnan > > > > Vitantonio Messa wrote: >> Hi Vincent, >> >> of course users that are going to attach files will have editing rights >> on those pages. What I want to do is give to an user the possibility to >> add a comments on a page and at the same time add a document on that >> comment. >> >> The difficult is that I don't know how to "mix together" comment and >> attachment... >> >> Vito >> >> >> >> >> Vincent Massol wrote: >>> Hi Vito, >>> >>> If I understand correctly you'd like that anonymous users (or users >>> who don't have edit rights at least) are able to add attachments? >>> >>> Right now attachments are added using the attachment UI. Of course >>> you could modify the comments vm file to add the same ui. What's >>> important though is that the user doing the attachment has the >>> permission to do so or it'll fail. Right now there's no attachment >>> right AFAIK. The logic is that attaching something modifies the >>> document and can even overwrites the existing attachments with new >>> versions. >>> >>> -Vincent >>> >>> On Oct 26, 2007, at 8:06 AM, Vitantonio Messa wrote: >>> >>>> Hi all, >>>> >>>> I was wondering if there is a way to add an attachment directly from a >>>> comment... I looked into the commentsinline.vm and >>>> attachmentsinline.vm, >>>> but I don't really find a way to modify those files to have something >>>> similar to what I need. >>>> >>>> Basically I want let users comment on a document and give them the >>>> possibility to attach a file in their comments... did anyone do >>>> something similar? Thanks! >>>> >>>> Vito >>> _______________________________________________ >>> users mailing list >>> [email protected] >>> http://lists.xwiki.org/mailman/listinfo/users >> _______________________________________________ >> users mailing list >> [email protected] >> http://lists.xwiki.org/mailman/listinfo/users >> >> > _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
