I'm not sure if I'm misunderstanding what this module can do, but is it possible to select single or multiple files from webfm to attach to nodes? I don't want anonymous users to have any clue that webfm is there, but would like for the client to be able to add attachments from webfm. Is this possible?
I've enabled anonymous roles to "view webfm attachments" and on the node creation form, under the webfm attachments part, it says "Drag attachments to set order." I am unable to drag attachments from the webfm browser anywhere. Where should I be dragging files to? Is something not working correctly? I couldn't find anything in the documentation about it.
Any help would be appreciated.

CommentFileSizeAuthor
#6 Picture 22.png35.19 KBstongo

Comments

tom-d’s picture

You have to enable webfm for you desired content type

to do this goto
Administer > Content management > Content types

and edit which ever one your going to use for wefm

robmilne’s picture

Attaching files from the browser isn't a d&d action. Use the right mouse button over the file to bring up a menu and select 'Attach to Node'.

stongo’s picture

Thanks Rob. That's what I was missing.
When I right click, the right click menu is way above the mouse cursor. I guess I'll have to debug that.
Thanks again for the help.

stongo’s picture

What was the reasoning for setting position:absolute to webfm-cxtCont | webfm.cxtCont?
When right clicking a file in Webfm in a content creation page, the right click popup is way higher than Webfm... it gets set at top: 400px , but this has nothing to do with current position of Webfm, which is probably top: 900px.
Do you think setting the position to relative and top to 0 would fix this? Or would it break Webfm somewhere else?

robmilne’s picture

Which browser are you using? I can't reproduce on FF or IE6 (the only browsers I have ready access to).

stongo’s picture

StatusFileSize
new35.19 KB

FF 2 for Mac OS 10.51.
I've attached a screenshot of what I get.

robmilne’s picture

Yuck.

Since I do not have access to a Mac, would you mind monkeying with the css to see if you can make it behave without breaking PC compatibility?

stongo’s picture

Yah I'll take on trying to debug that problem. When I get it working I'll send it to you, if you want to integrate into the next release.
By the way, I tested it on a VM windows FF, and got the same problem. So it's not operating system specific. There must a conflict somewhere with another module or something.

stongo’s picture

Status: Active » Closed (fixed)

I was noodling around with the JS to no avail, and then decided to enable a different theme and test it. It works fine with Garland. So it has something to do with my custom theme.
That's strange though. I'm not sure what element of CSS would run interference.
Thanks for all your help. Case closed. I'll let you know if I find anything worth relaying.

robmilne’s picture

From my past experience I find that relative css positioning is usually the stumbling block - especially with IE.

-Anti-’s picture

> Attaching files from the browser isn't a d&d action. Use the right mouse button over the file to bring up a menu and select 'Attach to Node'.

Huh??? I'm using the latest opera on Win2000, on the WebFM demonstration site,
and I don't see any menu at all. The only menu which appears is the usual
Windows right-click menu.

stompersly’s picture

After you upload a file to Webfm right click on the file name in the webfm browser and a little menu pops up. Then you can attach to node, rename, delete.

robmilne’s picture

Wrt comment #11 - the context menu is available for opera if you hold down the alt key on a left mouse button click. Wrt to files, don't click directly on the file link since this will download or display the file instead of displaying the context menu.

stongo’s picture

Fixed the problem. There was manually linked CSS file in page.tpl.php. Webfm doesn't work sometimes with anything in the beyond:
<?php print $styles; ?>
If you have any style sheets linked the old fashioned way, it breaks the position of the right click popup for some reason.

digitalfrontiersmedia’s picture

Is there some magic to this? New Acquia Drupal distro (v. 1.2.24) using Zen theme. WebFM works fine but when I go to Administer > Content management > Content types > *type* all I get is the standard content type edit page:

Name, Type, Description, Submission form settings, Workflow settings, and Comment settings.

No WebFM Attachment field or fieldset appears at all.

Should note this is while logged in as user/1

Using WebFM 6.x-2.12

cgmonroe’s picture

There should be an option to turn on and off WebFM attachments in the Workflow settings section.

In addition, you will need to make sure the appropriate permission have been set.