It would really be usefull if there was an admin interface to change the default settings of protected downloads.
I require the same webform (with several fields) many times in my site, so I use node clone to copy it. But when I remove my protected download file in order to upload another one all the custom settings I have done in the body of the e-mail, expire time or the protected download page/access denied page is reset back to the default values.
For now I have to manually edit the values inside the webform_protected_downloads.module. It would be nice to create the equivalent of "Form Settings" the webform module has, so the user can easily define his default values.

CommentFileSizeAuthor
#1 format.png3.73 KBfazalrabbi

Comments

fazalrabbi’s picture

StatusFileSize
new3.73 KB
Anonymous’s picture

I very much agree! I've spent a TON of time working on our new company website and it seems like I will be the only way able to offer new download pages. I have the content type require a description, an image, and the file. The file needs to be protected and redirect the users automoatically to the download page upon form submission. I have the default webform fields taken care of, but I have to manually set the Protected downloads setting everytime. It would be awesome to have a per-content-type defaults imho.

What would be the most useful to the rest of the community: global settings and/or per content type defaults? (I choose both!)

berliner’s picture

I just committed some changes to the dev branch that should make this module compatible with node_clone. Please check it out as soon as the dev-version on drupal.org gets updated and tell me if that is a sufficient approach to your feature request.
I hesitate to add configuration options for global or content type specific default options as I would like to keep the overhead of this module as small as possible. Any patches as welcome though.

berliner’s picture

Status: Active » Fixed

The changes are includes in the 7.x-1.0-beta1 release.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.