0

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

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

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

File module is enabled, version Drupal 8.3.5 (new and clean).

  • You can probably control the display format on the content type display tab. Edit your content type, go to the manage display tab and choose a different format for your field. – Neograph734 Jul 28 '17 at 9:16
  • Your question is not clear. General rule: the more time you spend to word your question and also format (!) the more likely you will get the right answer. For me, it was hard to read and could understand only after the second time. – ssibal Jul 28 '17 at 11:26
  • I have: Label --> "Link to the referenced entity" Rendered entity --> only "Rendered as Default" Entity ID No option displays the link, but only the text (the file name) You can test r2ghn.ply.st/admin/structure/types/manage/page/display – user7488178 Aug 1 '17 at 8:10
  • With all the dead links this issue can no longer be reproduced. – leymannx Jun 12 at 20:21
1

You should go to (structure -> content types -> page -> manage display):

/admin/structure/types/manage/page/display

and set your fields format and its corresponding settings the way you prefer.


Further reading on the topic: here

Youtube tutorial: here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.