Drupal 7 - How to make files downloadable for registered users only.

Work in progress: Page-bottom instructions for add-on Module 'Content access' coming soon.

- Notes from video by Thomas Geller of Lynda.com (D7_Advanced - vid_03_05).

Specify Drupal 7 (D7) Core 'Private file system path'.

D7: Click main-toolbar-button: 'Configuration'.

See heading 'Media': Click 'File system'.

See heading 'Private file system path': field-box.

'Private file system path'.

The 'root' of this field-box is your Drupal install root.

So, for example, specify in the field-box:

sites/default/files/my_new_private_file_folder

'sites': This directory exists at [d7-root]/sites.
'default': This directory exists at [d7-root]/sites/default.
'files': Maybe this directory exists: [d7-root]/sites/default/files.

The directory "my_new_private_file_folder"
will be created if it does not exist.

You, my friend, can use any directory name you like
instead of
"my_not_yet_existing_private_files_folder",
although there are some keyboard symbol restrictions.

I recommend that you start your directory name
with a lower-case alphabetic character (a-z),
and that you use no blank-spaces,
and that you use no upper-case alphabetic characters,
and please note that some 'symbol's might be trouble, too.

Numerals (0-9) are okay.

Subscribe with RSS Subscribe to RSS - directory