How to restrict file access based on file path under private directory?
I have a list of files under sites/default/files/private/abcde/manuals/. I want to add restriction to the files based on certain logic which I can add in the code in a hook. The logic would be based on a parameter set in by the admin. So if the value set to allow in the admin settings form , I would like to give access to view or download files und...
Permission error while downloading file through IE8
I have one content type with file upload field. I am saving the files to drupal/sites/default/files/search/documents custom folder. The user can download the files from the site. The download works fine in all browsers expect IE8. I am getting an error pop while downloading a file. Its only happening in IE8 on both windows XP and Windows 7. Once i ...
File system permission error while installing drupal modules
When I try to install new modules to drupal 7 via "Install new module" form, I get following error message. My Drupal 7 is installed with CPanel QuickInstall tool and hosted with HostGator shared hosting service. Any ideas how to solve this issue?
How can anonymous users be allowed to post while still maintaining content integrity?
A little background: As you see on http://charlotte.ebayclassifieds.com, if you click 'post an ad' and then choose a category, you can fill out the form and submit content without having to sign up. This is all done and managed by sending validation emails to the email address field which, when clicked, allow a user to manipulate their content. Can...
How do I migrate while content is still created on production site?
I've written a bunch of migration script to migrate a site from Drupal 6 to Drupal 8. On the development server I just ran a sample of each content type migration to test everything was OK while new content was still being created on production server on a daily basis by redactors. During the validation time by the project team (which could take se...