Hi Guillaume, Thanks a lot, it looks like I can use that and adapt it to my needs. (It's doing a bit too much for me.) Cheers, Olaf
________________________________ Von: Guillaume Lerouge <[email protected]> An: O Voss <[email protected]>; XWiki Users <[email protected]> Gesendet: 10:18 Dienstag, 6.März 2012 Betreff: Re: [xwiki-users] attachments upload from within form editing
Hi Olaf,
looks like this is what you're looking for: http://extensions.xwiki.org/xwiki/bin/view/Extension/Attachment+Selector+Mac...
Guillaume
On Tue, Mar 6, 2012 at 9:02 AM, O Voss <[email protected]> wrote:
Hi,
I need to find a solution for offering a way to the users to upload attachments to certain pages directly from the form editing mode. (Instead of having to build the page first, save it and attach the file later. Reason: the page is basically just a wrapper for the attached document(s), so it is very counter-intuitive to have to build the wrapper BEFORE you can upload in this case.)
Another way to describe what I need using the FAQ tutorial (http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial): Imagine you want to allow users to attach screenshots to FAQs directly when defining an FAQ. So you probably need to change the document sheet in such a way that in form editing mode a file upload selector is shown below the answer and question fields (that part is easy simply using HTML) and when saving the selected file is uploaded as an attachment to the current page (the tricky part I guess, I have no clue how to start). Allowing to upload multiple files at once would be nice, but isn't an absolute must.
Is this possible? Any hints are greatly appreciated!
Cheers,
Olaf _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users