In the previous set of exercises we built all the components our movie site needs. Now we are going to build the content types which will provide the data to feed the components.
Below you will see the content models for Movie and Landing Page content types. Using the step by step instructions at the bottom of this page, create both content types using the fields details outlined in the respective content model tables.
Label | Type | Machine name | Allowed # values |
Synopsis | Text (formatted, long, with summary) |
| Limited 1 |
Cover Image | Image |
| Limited 1 |
Avg. viewer rating | List (Integer) |
| Limited 1 |
Genre | Entity Reference |
| Unlimited |
MPAA Rating | List (Text) |
| Limited 1 |
Promo Sentence | Text |
| Limited 1 |
1|1 Star2|2 Stars3|3 Stars4|4 Stars5|5 Stars
Make 3 Stars the default value.
Entity to reference | Referenced type |
Taxonomy term | Genre vocabulary |
G|GPG|PGPG-13|PG-13R|RNC-17|NC-17
Make PG the default value.