Linking documents to a content type
We have seen in the previous recipes of this chapter, how to create a document library. This recipe will show you how you can modify the Basic page content type so that it contains a lookup field, with which links to documents can be added to the page.
For this recipe you will need to install the most recent recommended releases of the following modules:
You will also need to have completed the previous two recipes in this chapter:
- Creating a document content type
- Creating a simple document library
How to do it...
First we will edit the Basic page content type, and add a new Entity reference field, which will be used for looking ...