I'd need a node type with a title, date, and link to an uploaded file. Is there a module which creates a node like that?

I'm trying to create a table of press releases. Each press release will be an uploaded .pdf file. I believe I can create the table using the Views module, if I can only find a module which implements a node like the one I described above.

-TC

Comments

modul’s picture

I'd say that any problem relating to "a node type with this and that characteristic" almost automatically leads to the Content Creation Kit or CCK, one of Drupal's most indispensable contributed modules. You can define whatever extra fields you may require. And if there are any fields you don't require, you could always make a .tpl template file which blocks one field or another.

Offlein’s picture

Eh, it sounds like you want to just create a new content type "Press release"
Give it a date field. Then, using one of the many file uploading modules (Like this one! http://drupal.org/project/upload) allow people to upload a file with each post of that comment type.

Yes, Views will give you a Table view. I don't know if it will default to including the uploaded file, but you can use Views' theme wizard to set it up that way if you're patient.

--
I was the lead developer for the New York State Senate.

zeta ζ’s picture

Just as Views can create the selection of press releases that you want, the module that can produce node types with any selection of fields is CCK. You will also want other modules enabled, some from CCK itself, for the fields themselves ie. date and file links.
___________________
It’s in the detaιls…

Todd Matson’s picture

Thanks. I didn't know about CCK before. It does exactly what I want. I still must solve some annoying little problems, but with CCK and the Date module, I have 95% of what I need.

-TC