Hi,
I need a Upload module, i want to have the attach file button to be uploaded on the page and save it there on the web page, so that the other users can click any document to view it.
Is there a module for this??
Thanks,
Kirsten
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
Hi,
I need a Upload module, i want to have the attach file button to be uploaded on the page and save it there on the web page, so that the other users can click any document to view it.
Is there a module for this??
Thanks,
Kirsten
Haven't tried this, but maybe try using the SS UploadField component:
http://doc.silverstripe.com/framework/en/reference/uploadfield
I haven't used it in the front-end, but it definitely works in the backend. You may need to include some Requirement::javascript for it to work in the front-end.
ok, i had a look at the reference but i'm not sure if that is what i'm looking for, what i'm looking for is, i need a upload button on the front-end pages not in the CMS, so that way my users can upload their files onto the front-end pages, and actually saved there for other users to download for their resources. So the document won't drop off the page once refreshed the page or went to other pages and come to that page to ensure the document is actually there. Is that something we have in SilverStripe or not?
I don't know if the DataObjectManager Module and Uploadify covers that or not?
It says on that page that the UploadField is supported in the front-end as well. There is even sample code there.
This works: http://www.sspaste.com/paste/show/53e357181e950
The documentation is here: http://doc.silverstripe.com/framework/en/reference/uploadfield#using-the-uploadfield-in-a-frontend-form