Tutorial Wagtail Version: 2.x
In this lesson we are going to learn how to add a basic StreamField to a a generic Wagtail CMS Page. We'll create a new app from scratch, and this StreamField will have a title and text (using StructBlock), a custom template, and it will lay the foundation for the next lesson which covers inheriting RichTextBlock and modifying the features it can have.
Note: This is a 2 part video lesson. Part 2 will cover how to add RichText StreamFields and how to limit its features.
In this video we're going to explore what StreamFields are and how to add them to our page.
StreamFields are a complex data type in the sense that they are not simple columns in the database. An example of a generic StructBlock StreamField can be found below:
The Git Commit
If you're interested in seeing the entire commit for this video (including part 2), all the source code is available here.
How to Add a RichText StreamField to your Wagtail CMS Page
Posted on
In this video we are going to learn how to create a RichTextBlock StreamField, and then we're going to duplicate that StreamField and limit the number of features the editor gives us.
How to Add a New Wagtail Page From Scratch
Posted on
In this video we're going to explore how to add a new app to our Wagtail CMS website, how to install it, and how to add the custom page model. We'll be creating a brand new Wagtail Page from scratch.
How to add localization to your website
Posted on
Learn how to make your Wagtail website multilingual with different translations
How to Add a Blog Listing Page, Blog Detail Page, and Custom Context
Posted on
In this (long) lesson we're going to cover three main topics. They all go hand-in-hand with Wagtail CMS so it makes sense to learn them all together. The three topics are: Listing Pages, Detail Pages and Adding Custom Context to your pages.
This course covers everything from basic installation to advanced features like custom blocks and API integration, it's perfect for developers looking to enhance their skills with this powerful CMS.