← All modules

Magento 2 module

CMS Group

Lets you sort CMS pages and blocks into groups, filter the page and block grids by group and see blocks and pages grouped in selection lists.

Stores with many CMS pages and blocks quickly lose the overview: the grids and selection lists show long, flat lists of titles. This module adds groups for CMS content. You create groups such as “Landing pages”, “Footer” or “Campaigns”, assign each page and block to a group and then find it faster in the admin.

Features

  • New admin page Content > Elements > Groups to create, rename and delete groups.
  • New “Group” field in the edit forms of CMS pages and CMS blocks.
  • New “Group” column with a filter in the CMS page grid and the CMS block grid.
  • “Group” column in the block selection grid of Page Builder and in the block chooser of the CMS Static Block widget.
  • Selection lists of CMS blocks and pages are arranged by group, for example the CMS block selection of categories and the page and block selections in the configuration.
  • Pages and blocks without a group are assigned to the built-in group “None”, also when they are saved without choosing a group.

Configuration

Create your groups under Content > Elements > Groups. Then assign pages and blocks to a group in their edit forms under Content > Elements > Pages and Content > Elements > Blocks. Access to the group management can be restricted in the user roles with the “Groups” permission.

Good to know

Existing pages and blocks are placed in the group “None” during installation, so nothing has to be prepared before using the module.

Installation

Install the module with Composer in your Magento root directory:

composer require infrangible/m2-cms-group

Then enable it and update the store as described in the installation guide. Composer installs the required modules listed on this page automatically.