All Questions
30 questions
1
vote
3
answers
2k
views
IMCE browse server image upload button not displaying on ckeditor toolbar
I just installed and enabled IMCE for drupal 7 and assigned the IMCE icon in the full html input format page, but the icon is not appearing in the ckeditor toolbar. I even set the permissions for the ...
3
votes
3
answers
332
views
How to give access to the files of node for individual users?
In my website I have these modules enabled: File Entity (fieldable files), Media, Rules, Entity reference.
The default download method is: Private local files served by Drupal.
So when userA upload ...
1
vote
1
answer
59
views
Display text according to the access to a field
With field permissions, I restrict the access of a field to certain users.
I would like to display some text to inform the user that he has no access to the field.
I tried it in node.tpl.php :
&...
0
votes
0
answers
28
views
Anonymous users request to enter email to download files [duplicate]
I have a question that i thought originally i would able to answer myself.
I have a site that show some pdf help files. The files is open to anyone so they can download freely.
The question is how i ...
1
vote
2
answers
362
views
Sharing files privately individual users
I'm trying to create a Drupal 7 feature whereby an admin uploads multiple files that are only visible/downloadable by a specific user. These files would be visible on the user's profile page or (...
0
votes
0
answers
552
views
I want to prevent Duplicate entry in webform uri?
I have a webform but when user's are uploading the file in webform they are getting "Error: The website is encounter an unexpected error"
when i check the dblog i came to know that the error:...
0
votes
2
answers
586
views
Limit the number of uploads per image field depending of role
I need a hook (or something similar) where I can set the number of image uploads depending of the role of the user.
In the settings of the field there is no way to set the maximum number of values ...
0
votes
2
answers
149
views
Download file field dependent on user role vs role field values
I have a type downloadable_item which has a field field_roles_allowed that is based on the Role Field Module.
My goal is to have a field_download of file type that will show the file for download if ...
1
vote
3
answers
790
views
How to add link to my module in the Structure admin page
I would like to add a link to my module in the Structure admin page.
I already use a hook_menu for turn in my module accessible but how can I add a link in the "structure" admin section ?
function ...
0
votes
1
answer
2k
views
Features local permission issue Warning: mkdir(): Permission denied in features_export_build_form_submit()
When I am trying to generate a new feature on local, it runs in permissions issue beginning with
Warning: mkdir(): Permission denied in
features_export_build_form_submit()
There is no www-data ...
0
votes
1
answer
137
views
Private 'My Files' in Drupal Commons
I am using the latest release of Drupal Commons and I have Private Files configured and working.
I would like to allow users to upload files to their individual user profile, which only the ...
2
votes
1
answer
3k
views
Anonymous user's can't views/download files uploaded via file field
I have a node with a File field and i am using public file system. I have uploaded a file via File field and checked the mark "display" in the list of attached files to node, but still, anonymous user'...
1
vote
2
answers
118
views
Generate a PDF of an admin page
I was wondering if anyone knew of a way to generate a PDF of an admin page in Drupal. I've looked at a bunch of custom modules but they seem only to work on nodes, which I know are not used to ...
0
votes
0
answers
571
views
IMCE ckeditor cant upload image
So I moved my website from local to the server, and now I cant upload any pictures on the server anymore. after clicking on the "browse server" and hitting on "upload" and the ajax loading circle ...
0
votes
1
answer
669
views
Download file after login
I'm looking for direction with regards to how to get a file to download only after you are logged in, and to be prompted to login if you try to download it and then upon a correct submission, have ...
0
votes
0
answers
117
views
How to Force Visitor to Login after 3 Consecutive Download
My site serves downloadable files.
How can I force them to login/register after downloading 3 consecutive files?
Is there any available modules for this? If not, is there a sample script to start ...
2
votes
1
answer
51
views
How to order a view by access control on files?
I have a view that displays a series of nodes in a blog format. Each node has a file attached to it. How do I make the nodes with files that the user has to login to see come last in the list?
I've ...
1
vote
0
answers
396
views
Images not appearing properly when migrated from web server to local
I copied all the files from my web-server to my local-host. Then i imported the databases as well. All functionality on the site works perfectly, but most of the images are breaking.
I tried opening ...
0
votes
1
answer
713
views
How to assign value from one file field to another programmatically?
I have a webform which have a file field. In the user profile I have also created a file field.
I am using the webform for user registration So I am assigning the values from the webform to the user ...
0
votes
1
answer
335
views
D7 - download files works for admin, not for other users
There is a content type for accepting job applications, including resumes and cover letters as files uploaded. The files are set to private.
The form/page is set to unpublished by default - largely ...
0
votes
1
answer
629
views
Private files aren't blocking direct access to image files
I'm currently very confused by how private files work:
I have a content type that has an image field and a file field. Both
are set up to use private file access for their contents.
Node access on ...
1
vote
1
answer
1k
views
Create a node(filedepot folder) after user registers in site [duplicate]
Possible Duplicate:
How to create new node programmatically, when a new user is created, in Drupal 7?
I am using Drupal-7 and Filedepot module. In Filedepot module a folder is created when we ...
1
vote
1
answer
2k
views
How do I upload an image to the public:// directory?
Is it possible to upload the picture and set it as user picture?
User picture can be set via $user->picture = $file->fid; user_save($user);but how do I upload the file from a URL to the public:/...
3
votes
1
answer
2k
views
store fid of file_load into profile2
I programmed a multi-step form using the drupal form API. On the first page is
a user image file upload using the drupal managed field managed_file. When the form is stepped thru to the end and ...
0
votes
2
answers
890
views
How to set a file upload monthly quota on a role basis in Drupal 7?
I'm using Drupal 7 and I'm quite a newbie here.
I'm building a small sharing/social network site where users will be able to upload different kind of files (mainly, pictures and zipped archives, but ...
1
vote
2
answers
572
views
Password-protect page and its dependencies
I haved a Views-generated page, listing links to some downloadable files. The page itself is restricted to a certain role, and this obviously works ok, but I would also like to protect all the links ...
3
votes
2
answers
2k
views
Noob question about private files and Content Access
This is almost certainly a really stupid question, but the Drupal 7 site we're building has an image gallery that users can upload content to. Unauthenticated users should not be able to see these ...
1
vote
1
answer
776
views
How to have a webpage File Save As filename different from the page URL?
For example - see this BBC News Page: http://www.bbc.co.uk/news/entertainment-arts-16578905
Now Save the page as a web page - notice how the actual filename of the file saved ( BBC News - Golden ...
1
vote
2
answers
11k
views
Private File System and User Access
Is there a way to protect Drupal files from being accessible by the file path (putting http://www.domain.com/files/image.jpg) in the browser URL from users poking around?
1
vote
1
answer
1k
views
File upload and file access
I should upload an Excel file to a site that define a content type with a file CCK field; the download method is public. How do I set the permissions for the upload folder, if I would like to allow ...