Manage resource types
Your project will likely have different kinds of pages and screens called resource types. Every resource type defines just one kind of resource.
For example, if your project were a restaurant website, it may need different kinds of pages for:
- A homepage
- A staff listing
- The history of the restaurant
In this case, you could define 3 resource types, named:
- Homepage
- Listing
- Basic page
The advantage of using different resource types is that each type can have different sets of fields. For instance, the homepage could have an additional image field for a large background, while the listing page type would have a structured field to store staff bios.
Add a resource type
To add a new resource, log into your project's management UI then:
- Follow the Structure link from the main menu at the top of the management UI
- Follow the Resource types link
- Click the Add resource type button
- Fill in the available form fields as appropriate
- Under Publishing options, you can decide if you would like new instances of the resource type to be automatically publicly visible or not by toggling the Published option
- Submit the new resource type by clicking the Save and manage fields button
Every resource type has its own set of available fields that you can choose and configure. After you've added a resource type, you can manage its fields.