Introduction
The "Blocks" module is designed to create structures that contain sets of attributes. The Headless CMS OneEntry provides users with very flexible tools, and you can use the "Blocks" module as you see fit for your specific case. The main concept of the "Blocks" module is to create reusable entities (blocks) that contain sets of attributes and additional content.
For example, you can create a block - "footer" and use it on all
Main Interface Elements
1. Search Bar
Allows you to quickly find blocks by name. Enter the block name in the search field and select the desired block from the dropdown list.
2. List of Blocks
Displays all created blocks. The list of blocks is divided into three categories:
- For a regular block
- For block of similar products
- For product block
The table consists of three columns:
- Name
-
Marker
- Actions
In the "Name" column, the name of one of the three block categories is displayed along with a button that expands the list of blocks for each category. After opening the list for a category, you will see the total number of blocks in that category and a list of their names. In the "Marker" column, the unique
Edit - opens the block editing page
Delete - removes the created block
3. Block Creation Form
The block creation form contains three input fields:
- Name - a required field where you must enter the block name;
- Type - a dropdown list where you must select the block type;
- Marker - a required field where you must enter the unique Markerof the block (only Latin letters and the symbols "_" and "-" are allowed for input);