Understanding Content Types in Your Backoffice (Strapi)
The primary way you'll organize and input content is through Content Types. There are two main categories you need to know: Collection Types and Single Types.
1. Collection Types 📚
A Collection Type is designed for content that needs to be repeated and where you'll have multiple entries (a collection of items).
Think of a Collection Type like a folder or a list where every item in that list has the same structure.
Key Characteristics:
| Feature | Description | Examples on Your Site |
|---|---|---|
| Quantity | Multiple entries. You can create as many as you need. | Products, Dealers, Blog Posts |
| Back Office View | You will see a list of all existing entries (e.g., a list of all your products). You'll click a button "Create New Entry" to add more. | Products (list) → Add New Product. |
| Purpose | To manage lists of similar, repeatable content. | Adding a new Dealer, or blog post as needed. |
2. Single Types 📄
A Single Type is designed for content that appears only once on your website and doesn't need to be repeated. It only allows for one entry.
Think of a Single Type like a specific, unique page or a global settings panel.
Key Characteristics:
| Feature | Description | Examples on Your Site |
|---|---|---|
| Quantity | Exactly one entry. You can only edit the existing one; you cannot create a new one. | Homepage Content 🏠, Global configuration ( Navbar Menu, Footer ), Product Page common content. |
| Backoffice View | When you click on a Single Type, you are taken directly to the edit form for that one entry. There is no "Add New" button. | Contact Page (opens the page's content fields). |
| Purpose | To manage unique, one-off content or global configuration. | Editing the navigation links in the NavBar or updating the homepage headline. |
3. Simple Analogy: A Cookbook 🍳
To help you remember the difference, imagine your Strapi backoffice is a cookbook:
| Content Type | Cookbook Equivalent |
|---|---|
| Collection Type | The Recipes section. You have a list (a collection) of many individual recipes (entries) like Pancakes, Tacos, and Salad. |
| Single Type | The Introduction/Foreword page. There's only one of these pages, and you can only edit the content on that single page. |
Quick Summary for Your Workflow
| If you want to... | Use a... |
|---|---|
| Add a Blog article, Product or a Dealer. | Collection Type (e.g., Products Collection) |
| Change the text or image on your 'Homepage' page. | Single Type (e.g., Homepage Single Type) |
| Manage a list of items. | Collection Type |
| Manage content for a unique part of the site. | Single Type |
When you navigate the Content Manager section of the backoffice, you'll see your various content types listed under the appropriate heading (Collection Types or Single Types). You now know exactly what to expect when you click on them! 👍