All,

OK, I're tried both FileStore and FileStore2, and I can make both of them work great for manually uploading files to a site. I can assign a Vocabulary (like "Downloads") to the node type "upload file" and make a "Downloads" section, complete with Terms under "Downloads" to make sections or categories of downloads.

As of now, the Vocabulary "Download" is set to "Required" for "upload file" nodes.

Now here is the problem:

When making a new Story node (for example) there is now a "File to Upload" field and a browse button. If I select a file here to upload, which I assume will associate this file with this story node (correct me if I'm wrong), the file doesn't get added. This happens both with FileStore and FileStore 2.

I have also added the "upload file" node type to the Vocabulary used for Stories, thinking that this was the problem, but there's no change; downloaded files don't appear.

Am I missing something here? Or does this feature work in a different way that I am thinking?

My goal here is to have a story (or book page, because I would like this in a long Document or FAQ section) say something like "There's a new font file you should use for this document template. Notice how blah blah blah. Here's how to install it..." And there would be a download link in the Story or Book Page.

Thanks for any tips and help.

-Warr

Comments

gdboling’s picture

How did you get your story node to show "File to Upload"? I installed the FileStore and I don't have such an option. And when adding vocabularies I don't have an "upload file" type. I am also very interested in being able to link to a downloadable file when creating a new Story/Article. Probably similar to how the image_node works.

wernst’s picture

I just installed FileStore, and later, FileStore2 (check out cvs.drupal.org, as I was recently made aware of) according to the directions, and there that field was. Same with the Node type. In fact, I don't see a nice way to have categorized downloads without Vocabularies, Terms, and therefore, node types.

I know this sounds flip, and won't help you, and I'm really sorry about that, since I hate these kind of replies.

Perhaps you should try FileStore2 (which seems like a better module anyways) and see if you get what you need.

The original question still stands, however...

-Warr

Capnj’s picture

Warr -- If you enable filestore2 to allow a file upload connected to a new node, say a blog entry, the file is not actually uploaded. Anyone know if this is really supposed to work?

gil

wernst’s picture

Gil,

Right. It accepts a local pathname for a file to upload and (apparently) associate with the node (say, a blog entry or story), but it never takes the file.

What I can do now is FIRST upload the file to the filestore2 module, copy the URL to the file, and then make a hypertext link pointing to that URL in the story.

Not a seamless way to go, but it works.

-Warr

Dash’s picture

Same thing here. What's the point in being able to link it to nodes if it doesn't actually work? Help from actual coders would be appreciated!

mda-1’s picture

At least part of the problem with filestore2 is that the source has a bug where sometimes it uses "file upload" and sometimes "file uploads" as the permission to check for.

Even with that though, the module still does nothing to assist in creating links to the content within your body.
There are other modules that do that.
See http://drupal.org/node/view/8385