File uploads and attachments
Sat, 21/03/2009 - 01:51
Paul Gillingwater

Joined: 05/03/2009
Posts:
I have enabled File Uploads in Drupal, but am not clear how to enable this for pages or stories. I simply want some way to add other media to the site, e.g., PDF or AVI. Of course I can do this in the file system, but it's easier through the Web GUI.
__________________
Follow me on http://www.twitter.com/ahbleza
Sat, 21/03/2009 - 15:45
#2
Paul Gillingwater

Joined: 05/03/2009
Posts:
Still not clear
1) The Upload module is enabled
2) The Workflow settings already had Uploads set to enabled
But when I add a story, I see no sign of the upload functionality (such as I see on this site.)
__________________
Follow me on http://www.twitter.com/ahbleza
Sat, 21/03/2009 - 16:12
#3
Paul Gillingwater

Joined: 05/03/2009
Posts:
OK it's clear now
I had to add a new field to the story type, which will support the upload. I did that here:
../admin/content/node-type/story/fields
with the Manage Fields tab.
So, thanks for help!
cheers
Paul
__________________
Follow me on http://www.twitter.com/ahbleza
Sat, 21/03/2009 - 16:36
#4
beng
Joined: 27/02/2009
Posts:
Um, yes and no.
Hi,
If you want to use the functionality provided by the Upload module, then you need to also configure permissions at .../admin/user/permissions. In particular, look for upload files and view uploaded files near the bottom of the page.
Then when you edit a story, there should be a new fieldgroup File attachments which appears.
Adding a file field to the story content type is a different approach altogether.
Finally, this doesn't allow attachments in comments (like this site prosepoint.org does). That's provided by a separate non-ProsePoint Drupal module.
Sat, 21/03/2009 - 16:58
#5
Paul Gillingwater

Joined: 05/03/2009
Posts:
Uploads permissions
As recommended, I updated the permissions, which were previously missing.
However, when I now add a story, I only see the new file field which I added previously, and not the fieldgroup File Attachments.
I need to experiment a little further...
cheers
Paul
__________________
Follow me on http://www.twitter.com/ahbleza

After enabling the module Upload of Drupal core - optional, you then should configure the settings for each content type separately.
For example, for the story type, visit .../admin/content/node-type/story and look in the fieldgroup Workflow settings for an Attachments radio button to turn attachments on or off.