User side file upload to File Manager?
Loader::library("file/importer"); $fi = new FileImporter(); $newFile = $fi->import($pathToFile, $nameOfFile, $fileObject);
I would be interested in a simple block which uploaded a file to a specific file set (defined in the block properties), so users could, on a particular project page, upload files which would be added to that project's file set. The File List addon could then show all the files for that project.
I do hope to see more add-ons of this sort in the future!
But what about permissions? The users will need to sign in before? Open fileset to everone ?
It would be really nice from a user's perspective if the uploader was AJAX too, rather than a drab old HTML form :)
It did the work for me...
We though of putting it up on the marketplace, but we are a bit busy now, so we haven't had time yet.
Is this something people are looking for, and is this what you are looking for?
> add a new image to an area in one step from a block.
You are aware that you can upload an image WHILE choosing an image from the file manager while editing a block (such as the Content block), right? It might not be what you're after, but I just wanted to make sure you were aware that you don't have to abandon your block/page editing session and go through the dashboard to get to the file manager just to upload a file.
That said, I'm looking to implement user-specific galleries at some point, and I'll certainly create my own "gallery manager," so I'll be thinking through some of these issues in the future.
The admin need to make a user dir directory which you specify when you add the block (and it need write permission for the web server).
I see a lof of functionality I want to implement, but that must come later.
The problem is I have made a lot of blocks, but to upload something to the marketplace it needs to be in a package instead. How do I easily put the block into a package?
It gives each user on your site a folder which he/she can upload and download files from.
Can you provide support or a refund?
Hope that's useful to someone!