Setup & Configuration
Last updated
Last updated
After installing Bloqs the first thing you will want to do is create some bloqs! Below is a screenshot of the main Bloqs settings page. As you can see we have 7 bloqs already created, but after a new installation of Bloqs, this list will be empty.
Creating a bloq is easy. At the top of the page you give it a name and short name, as well as assign it to a group, preview icon or image, and set any nesting rules. The bottom of the bloq configuration page is where you create your atoms for the bloq. Creating atoms is exactly like creating columns in a Grid field.
Once you have created a few bloqs, it is time to create your Bloqs custom field and assign bloqs to it. Suppose we have a very simple "Pages" Channel in ExpressionEngine which contains 1 Bloqs field:
At the bottom of this Edit Field form is a list of all the bloqs you have defined. From here you select which bloqs will be made available to content editors when editing an entry in a channel that the Bloqs field is assigned to. Since bloqs can belong to one or more custom fields, you need to select which bloqs are available on a per-field basis.
Once you have created your bloqs, assigned them to a custom field, and assigned that field to a channel you can edit an entry and start building robust and dynamic pages in ExpressionEngine.
Once you have your field, bloqs, and atoms defined, you will want to learn how to render them to the page. Learn about Template Tags next.
Bloqs includes basic support for the new Entry Manager in ExpressionEngine 6, but the Bloqs custom field, and atoms inside a bloq must be set to searchable. All HTML tags will be removed from the content for display in the Entry Manager column.