Thanks for the module... looking good.
I'm curious if i'm overlooking something - Say my site is going to categorize the downloads sections by category - images / CAD drawings / software... etc. Currently, when a user is going to create a file, he uses taxonomy to choose what category his upload will apply to.
Thinking further, i'm not so sure the users can always be trusted to make the right selection. Is there a way to make it more basic by creating different content types with this? Instead of one basic 'File' content type... maybe new ones can be created....
If not, maybe file types can be automatically recognized and categorized (.JPEG automatically recieves "images", while .EXE automatically recieves "software" taxonomy).
Just curious if this is already possible and i'm missing it.
Comments
Comment #1
miglius commentedThe module does not automatically tag the uploaded files based on their MIME type or other metadata.
However, you could easily write a very light contrib module just for your purpose. The module should implement the nodeapi hook, which upon a new file node creation would check the MIME type of the uploaded file and would add an appropriate tag.
Comment #2
four99 commentedI definately echo ctalley5's concerns for not trusting users to upload to the 'correct' taxonomy...I would like the ability to create content types that are able to use the basic 'file' content type as well...what would be involved?
Comment #3
four99 commentedActually, I figured out how to this...sort of...
It is possible to include a CCK field as type 'file'; however if you create a new content type with a file field, when you go to create a node of that content type and upload a file using that file field, the framework creates a new file node..so you essentially have two nodes for that file...one is the actual "File" content type, the other is the custom content type you created.
It would be a great benefit to be able to create multiple content types that behave exactly the same as the "file" content type that is created when the module is enabled.
Other minor behaviors in the "file" type are desirable, such as the "auto-title" javascript script which automatically places the file name into the node title...
Any help with this?
Comment #4
gobinathmClosing the issue. It was inactive for a long time & it's related to a Drupal Version which is not supported anymore