38 Posts
perrineco
6 years ago
Topic

Hello

I am looking for my files to be downloaded only by registered and connected users. If I select registered on the content type, field is not accessible if user is not connected. In feact I would like that when I click on the button to download the file, login form is displayed if user is not connected.

Is there a way to achieve this functionnality?

Thanks a lot in advance !

perrine

Get a VIP membership
4229 Posts
Kadministrator
6 years ago
0
Level 1

This all depends on permissions set on this field and/or content type. More restrictive permission will be applied, so probably you will want to restrict only this field

38 Posts
perrineco
6 years ago
2
Level 1

Thanks a lot! I think I understand now.

Actually I would like to show a link with a redirection to login to user who want to download but who are not connected !

4229 Posts
Kadministrator
6 years ago
1
Level 2

You can add 2 fields to the content - text field with value "Download" linked to the login/registration and access level set to the Guest and another one - file upload field with access set to Registered. This way guests (those not logged in) will get one field and Registered another.

38 Posts
perrineco
6 years ago
0
Level 3

Thanks !

I understand better now!

Get a Book for SEBLOD