Search by

yireo-training / magento2-example-loki-admin-cms-page

yireo-training

N/A

Package info

github.com/yireo-training/YireoTraining_ExampleLokiAdminCmsPage

Type:magento2-module

pkg:composer/yireo-training/magento2-example-loki-admin-cms-page

Fund package maintenance!

yireo

www.paypal.me/yireo

Statistics

Installs: 2

Dependents: 0

Suggesters: 0

Stars: 0

1.0.0 2026-11-27 13:34 UTC

This package is not auto-updated.

Last update: 2026-11-28 17:12:15 UTC


README

Magento version PHP version License Latest Version

This Magento 2 module demos the usage of Loki_AdminComponents to code a grid with ease.

Installation

composer require yireo-training/magento2-example-loki-admin-cms-page@dev
bin/magento module:enable YireoTraining_ExampleLokiAdminCmsPage

Usage

Navigate via the menu Content > Pages (Loki).

Note that this example module is not about the usage, it is about the code. See how little code was involved to create this grid.

Screenshot of grid in action

Permissions

Next to the ACL resources of this module (Content > Elements > Pages > Pages (Loki)), saving requires Magento_Cms::save, deleting requires Magento_Cms::page_delete and changing design settings requires Magento_Cms::save_design. Only the content and SEO fields of a page can be edited; layout updates and design settings are kept as they are.

Adobe Commerce admin role scopes (website or store restrictions of AdminGws) are not supported by this example module: an admin user with access to this page can edit pages of every store view.

Current status

Static Tests Unit Tests Integration Tests Playwright DI Compilation