Tutorials - Big bits of code to help you do more
-
TutorialsCreating and deleting dataobjects from the front end
29 June 2012 | | | Supports v2.4
Tweet
One of my clients wanted a clear interface from which he could easily attach downloadable files to some pages of his site. Instead of using modelAdmin and granting him an access to Silverstripe admin panel, I chose to create a front-end page showing a simple upload form, a list of the files previously uploaded to the server, and a delete button for each of them.
Continue reading...