user7488178
user7488178

Reputation: 21

drupal 8 and link to file

I installed drupal 8.2.7, no extra plugins or themes. I have added in the "base page" (structure / type) a field (file1) to upload files.

If I add a new page (drupal / node / add / page) and also load a file in file1 (test.txt), the new page displays me the link to the file.

Then I add a new field called file2 as entity reference (file type). If I add a new page (drupal / node / add / page) and put in file2 a reference to the test.txt, I see the new page, but with only the label name of the file, not its link


you can test the error on:

https://r20kx.ply.st/node/1

https://r20kx.ply.st/node/2

Upvotes: 1

Views: 1179

Answers (1)

Claudiu Chirilov
Claudiu Chirilov

Reputation: 186

You can edit the fields of the content type and from Manage display tab change the Format settings for the field file2 to URL to file. Check this screen: http://prnt.sc/epnh4n

Upvotes: 2

Related Questions