Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Client Section


Reply


4 Posts   988 Views

Avatar
Joshuarr

Community Member, 37 Posts

5 February 2010 at 8:43am

Hello.

I am trying to build a section for clients to upload and download sensitive/confidential documents. I have figured out how to create a client zone that all registered clients can access, and I've figured out how to give each client their own profile page where they can add all sorts of contact and personal info (based on ForumRole.php). But I can't for the life of me figure out how to make a simple file manager for them.

My requirements are:

- Admin needs to be able to post files to a specific user
- Member needs to be able to post files to the admin.
- Everything else like edit and delete would be super but I know it's a lot to ask /s.

I thought this would be easy but I'm close to giving up.

Help?
J

Avatar
zenmonkey

Community Member, 532 Posts

7 February 2010 at 9:11am

You'll need to create a DataObject to store the files and font end Form to to access the Dataobject. Take a look at the DataObjectManger module sinceit already has a methods for controlling File Dataobjects

Avatar
Hamish

Community Member, 712 Posts

7 February 2010 at 11:13am

Might be worth looking at the secure file module too

http://silverstripe.org/secure-files/

Avatar
klikhier

Community Member, 150 Posts

23 June 2010 at 10:10am

Joshuarr, have you managed to get file sharing up-and-running? If so, what was your approach?