Correct "content-type" to "collection type" in Quick Start Tutorial/Guide to match UI

There needs to be a review of the docs. This pull request is intended to fix obvious incorrect
references that may confuse or frustrate people brand new to Strapi, trying to go through
the Quick Start Guide or Tutorial.

Change "content type" to "collection type" where appropriate

Signed-off-by: Chinh Do <cdo@vienxu.com>
This commit is contained in:
Chinh Do 2020-03-27 23:21:43 -04:00
parent fb7e8f3db8
commit de97f68b85
2 changed files with 15 additions and 13 deletions

View File

@ -175,7 +175,7 @@ It is not necessary to always create a front-end **User** for your **Administrat
:::
- Click on `Users` located under **CONTENT TYPES** in the left-hand menu.
- Click on `Users` located under **COLLECTION TYPES** in the left-hand menu.
- Click the blue **+ Add New User** button in the top right corner.
- Next, complete the `Username`, `Email`, and `Password` fields.
- Select `ON` for the **Confirmed** toggle field.
@ -184,14 +184,16 @@ It is not necessary to always create a front-end **User** for your **Administrat
![New front-end User](../assets/getting-started/tutorial/new-front-end-user.png 'New front-end User')
You are now ready to create your first **Content Type**.
You are now ready to create your first **Collection Type**.
## 3. Create a new Content Type called "Restaurant"
**Content Types** are a collection of entered data represented by fields. For example, a **Content Type** called `Restaurant` may be intended to display information regarding restaurants. A `restaurant` **Content Type** could have fields that include a `name`, the main `image`, and a `description` - _at a minimum_. However, a `restaurant` could also have a `category` or multiple `categories`, and a `restaurant` could perhaps need to show `hoursofoperation`.
## 3. Create a new Collection Type called "Restaurant"
A **Content Type** can be considered a sort of _blueprint_ for the data created. In other words, a **Content Type** is the schema of the data structure.
Both **Collection Type** and **Single Type** are types of **Content Type**. **Collection Type** is used for content that repeats such as restaurants, or blog posts (hence "collection"). **Single Type** is used to manage content that will have only one instance - for example, your menu, a static page, or a footer.
**Content Type** can hold data represented by fields. For example, a **Collection Type** called `Restaurant` may be intended to display information regarding restaurants. A `restaurant` **Collection Type** could have fields that include a `name`, the main `image`, and a `description` - _at a minimum_. However, a `restaurant` could also have a `category` or multiple `categories`, and a `restaurant` could perhaps need to show `hoursofoperation`.
The next section guides you through the steps needed for each of these above **Content Type** fields.
::: tip NOTE
@ -212,7 +214,7 @@ You need to create a new **Content Type** for `Restaurants`.
1. Complete these steps to **Add a Restaurant Content Type**.
- Click the `+ Create new content-type` link (under existing **CONTENT TYPES**).
- Click the `+ Create new collection type` link (under existing **CONTENT TYPES**).
- Enter a **Name** for your new **Content Type** (call this `restaurant`).
- Click the `Continue` button.
@ -294,7 +296,7 @@ The `Category` **Content Type** will have a **Text** field named `category`, and
1. Complete these steps to **add a Category Content Type**.
- Click the `+ Create new content-type` link.
- Click the `+ Create new collection type` link.
- Enter a **Name** for your new **Content Type** (call this `category`).
![Category Name Field](../assets/getting-started/tutorial/category-name-field.png 'Category Name Field')

View File

@ -43,8 +43,8 @@ Navigate to [**http://localhost:1337/admin**](http://localhost:1337/admin).
Navigate to [**PLUGINS** - **Content Type Builder**](http://localhost:1337/admin/plugins/content-type-builder), in the left-hand menu.
- Click the **"+ Create new content-type"** link
- Enter `restaurant`, and click `Done`
- Click the **"+ Create new collection type"** link
- Enter `restaurant`, and click `Continue`
- A window opens with fields options:
- Click the **Text** field
- Type `name` in the **Name** field
@ -59,7 +59,7 @@ Navigate to [**PLUGINS** - **Content Type Builder**](http://localhost:1337/admin
Navigate back to [**PLUGINS** - **Content Type Builder**](http://localhost:1337/admin/plugins/content-type-builder), in the left-hand menu.
- Click the **"+ Create new content-type"** link
- Click the **"+ Create new collection type"** link
- Enter `category`, and click `Continue`
- A window opens with fields options:
- Click the **Text** field
@ -74,7 +74,7 @@ Navigate back to [**PLUGINS** - **Content Type Builder**](http://localhost:1337/
## 5. Add content to "Restaurant" Content Type
Navigate to [**CONTENT TYPES** - **Restaurants**](http://localhost:1337/admin/plugins/content-manager/restaurant?source=content-manager), in the left-hand menu.
Navigate to [**COLLECTION TYPES** - **Restaurants**](http://localhost:1337/admin/plugins/content-manager/restaurant?source=content-manager), in the left-hand menu.
- Click on **+ Add New Restaurant** button. Type `Biscotte Restaurant` in the **Restaurant** field. Type `Welcome to Biscotte restaurant! Restaurant Biscotte offers a cuisine based on fresh, quality products, often local, organic when possible, and always produced by passionate producers.` into the **Description** field.
- Click **Save**.
@ -83,7 +83,7 @@ You will see your restaurant listed in the entries.
## 6. Add categories to the "Category" Content Type
Navigate to [**CONTENT TYPES** - **Categories**](http://localhost:1337/admin/plugins/content-manager/category?source=content-manager).
Navigate to [**COLLECTION TYPES** - **Categories**](http://localhost:1337/admin/plugins/content-manager/category?source=content-manager).
- Click on **+ Add New Category** button. Type `French Food` in the **Category** field. Select `Biscotte Restaurant`, on the right from **Restaurant (0)**.
- Click **Save**.
@ -95,7 +95,7 @@ You will see the **French Food** category listed in the entries.
You will see the **Brunch** category listed in the entries.
Navigate back to [**CONTENT TYPES** - **Restaurants**](http://localhost:1337/admin/plugins/content-manager/restaurant?source=content-manager).
Navigate back to [**COLLECTION TYPES** - **Restaurants**](http://localhost:1337/admin/plugins/content-manager/restaurant?source=content-manager).
- Click on `Biscotte Restaurant`.
- On the right, under **Categories(1)**, `select` the `Add an item...`, and add **Brunch** as a category for this restaurant, and click the **Save** button.