What this solution does
The module adds a composite property type for information block elements called "Content Block Builder." Administrators define block schemas by specifying required fields and their types. Content editors fill out ready-made forms directly within the element card. On the website, the module returns structured data as value arrays. The method of displaying this data—whether as a slider, tabs, or cards—is implemented by the developer in the component template.
The module addresses the challenge of storing related data without creating redundant information blocks. For instance, displaying a list of links with URLs and titles within a product card is not supported by standard properties. Typically, this requires creating a separate information block for links and establishing a relationship between it and the product information block. A similar situation arises when displaying a slider with images and descriptions, which also necessitates creating additional information blocks and connections. Using this module avoids cumbersome and inconvenient structures for content management.
This module enables the creation and storage of complex data structures directly within infoblock elements, eliminating the need for additional infoblocks or properties. Developers render these structures in the component template according to the design specifications.
How it works
Administrators create block schemas (snippets) in the "Block Builder Content Snippets" section. Each schema defines a name, a set of fields, multiplicity options, and nested groups.
The infoblock property is assigned the type "Content Block Builder."
Editors add blocks within the element card, fill in fields, rearrange the order, and assemble content from ready-made parts.
On the site, the property value is delivered as a structured array. Developers generate the required markup in the component template based on the snippet type and its fields.
Capabilities
Builder in the element card
Blocks are displayed as cards containing the snippet name, fields, and controls for reordering (move up, move down) and deletion. Users can combine different blocks and change their sequence.
Visual schema editor
Snippets are created and edited in the admin panel without modifying PHP code or storing schemas in project files. Available features include listing, creation, editing, sorting, and disabling blocks.
Content Block Builder
This module enables flexible configuration of field structures for content blocks. The following data types can be added to the block schema:
- text fields: single-line and multi-line;
- visual editor;
- file and image uploads with options to restrict file extensions and sizes;
- dropdown lists with predefined options;
- toggle switches (yes/no);
- date and time fields;
- field groups for creating repeating structures such as slides, tabs, accordion items, or any other repeating sets.
All fields and groups support multiple entries.
The module is suitable for:
- online stores and catalogs with complex product presentation, where block data must be integrated into card templates;
- media platforms and corporate websites requiring non-standard content layouts;
- landing pages and promotional sections built from repeating blocks with a unified design in templates.
General iT can install and configure this module and check how it works on your website.