Creating a frontend upload form
In this recipe, we will create a simple extension, which would add a form to the website, and let users upload files. Files will be indexed by the DAM.
Getting ready
We will create the extension from scratch, and if you want to follow along, make sure to install Kickstarter to create the framework. Otherwise, you can download the finished extension but make sure to review the How it works... section to understand what happens in the code.
How to do it...
1. Under the Extension Manager, select Create new Extension. If you don't see the option, Kickstarter has not been installed.
2. Under General Info, click the plus icon (+), and fill in the basic information. Name the extension User Upload.
3. Under Dependencies, enter dam. When the extension is installed, Extension Manager will check the presence of DAM, and proceed only if DAM is present and installed. Likewise, Extension Manager will not allow DAM to be uninstalled as long as our extension is still installed...