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

SS3 Beta UploadField


Reply


3 Posts   837 Views

Avatar
tfliam

Community Member, 20 Posts

3 June 2012 at 3:43am

Hi,

I am trying to use a UploadField on frontend for user to upload their company logo.

There isn't much documentation on UploadField yet. And I have tried it but no luck so far.

Can anyone guide me on how to use it?

Avatar
Bolixe

Community Member, 17 Posts

4 June 2012 at 9:42pm

Hi tfliam!!

I am also trying to upgrade one of my projects to SS3 to see if I can offer this to my customer. I use also upload of images, my question is did you achieve this in the backend???

Greetings

Avatar
Bolixe

Community Member, 17 Posts

5 June 2012 at 12:11am

Edited: 05/06/2012 12:29am

Hi again,

I have done what I wanted, to allow in the CMS upload files.

I have used GridField that looks that is going to replace the "ComplexTableField, TableListField, and TableField" and "DataObjectManager".

http://www.silverstriperesources.com/articles/silverstripe-3-beta-2-more-about-grid-fields/

http://doc.silverstripe.org/sapphire/en/trunk/topics/grid-field

I didn´t do for the frontend because I don´t need it, but I think with formActions and fieldSet (as I did exactly this in SS 2.4.6) you can try. Sorry I am also newbie on this, I hope I help in something.

Regards