Hi all,
I want to create a plugin to override the upload view for unregistered users. And I'm blocked on an issue because I want to add the possibility to select Categories into the upload form.
My problem is the upload form is called in templates/upload/index.html with the statement ${upload_form(form_values)}
. I need to override this statement to have a call like this : ${upload_form(form_values, child_args={'categories': {'category_tree': category_tree}})}
.
How I can override the statement that calls the 'upload_form' in my plugin ? Do you have some examples ?