Learn how to define content types like blog posts, products, team members, and more using CMS collections.
What is a Collection?
A collection is a group of related content items that share the same structure. Think of it as a database table or spreadsheet where each row is an item with the same columns (fields).
Common Collection Types
- Blog Posts - Title, content, author, date, featured image
- Products - Name, price, description, images, category
- Team Members - Name, role, bio, photo, social links
- Portfolio Projects - Title, description, images, client, date
- Testimonials - Quote, author, company, rating
- FAQ Items - Question, answer, category
Creating a New Collection
- Open the CMS Panel from the left sidebar
- Click Create Collection
- Enter a collection name (e.g., "Blog Posts")
- Add fields to define the data structure
- Save the collection
Field Types
Choose the appropriate field type for each piece of data:
- Plain Text - Short text (titles, names)
- Rich Text - Formatted content with headings and lists
- Image - Single image with alt text
- Gallery - Multiple images
- Number - Numeric values (prices, ratings)
- Date - Date and time picker
- Boolean - True/false toggle (featured, published)
- Color - Color picker
- Link - URL with display text
- Reference - Link to another collection item
Collection Settings
- Name - Display name for the collection
- Slug - URL identifier for collection pages
- Primary Field - Main field shown in lists (usually title)
- Sort Order - Default ordering for items
Adding Items
- Select your collection in the CMS Panel
- Click Add Item
- Fill in the field values
- Save the item