i'm not sure about this, but it may be possible to achieve this by setting the attribute jParams.getSiteID () + "-filepicker-selecteddir" in the session to the value "/shared/guest" - with something like request.getSession().setAttribute(jParams.getSiteID () + "-filepicker-selecteddir","/shared/guest") in the jsp , just before calling the engine. if no file is selected yet, that should go to /shared/guest instead of /users/guest.
thomas


Le 2 juin 04, � 14:35, Dark Jem a �crit :

Ok that works great thanks!
I created a folder /guest in /shared/ and it works but I would like to make this folder the default folder in which the user will arrive when I want to submit a file. I want to avoid him to have to go back in the folder tree to find /shared/guest.


Do you know how I can achieve this?
Regards

J�r�mie


From: Thomas Draier <[EMAIL PROTECTED]>
Reply-To: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: Re: File submitting by guest
Date: Wed, 2 Jun 2004 13:00:23 +0200

hi,
if you want to give the ability for guest to upload files, you have to create a folder under the /shared folder and explicitely give write access to guest by using the "file permissions" option. there is no default folder for the guest user under /users/guest for security reasons, and currently no way to activate it - although that may be an option for the future.
thomas


Le 2 juin 04, � 10:54, Dark Jem a �crit :

Hi all,

I'm currently trying to allow guest users to submit file on my Jahia site in a file container box. I put a link on the page on wich I added my file container to allow file submission. When I click on it I get the file uploading window but I can't add any file. I can just go through the folder tree of Jahia but when I click on any folder I don't get the "Upload file" option.
I tried to give write and even admin rights to the guest user but I does't work.
I work with Jahia 4.0.4.


Thank you in advance for your help!
J�r�mie

_________________________________________________________________
Hotmail : un compte GRATUIT qui vous suit partout et tout le temps ! http://g.msn.fr/FR1000/9493


_________________________________________________________________
MSN Search, le moteur de recherche qui pense comme vous ! http://search.msn.fr/



Reply via email to