element119/module-cms-identifier-markup

A Magento 2 module that adds markup to CMS entity output to help easily identify them.

Installs: 9 823

Dependents: 0

Suggesters: 0

Security: 0

Stars: 5

Watchers: 0

Forks: 1

Open Issues: 0

Type:magento2-module

1.1.1 2023-04-23 19:56 UTC

This package is auto-updated.

Last update: 2024-10-23 23:17:01 UTC


README

element119 | CMS Identifier Markup

github release github release date magento license packagist downloads

📝 Features

✔️ Adds an additional HTML data- attribute to CMS blocks for ease of identification

✔️ Additional markup is added automatically, no manual intervention from admins required

✔️ Configurable data- attribute name to avoid conflicts with other customisations


🔌 Installation

Run the following command to install this module:

composer require element119/module-cms-identifier-markup
php bin/magento setup:upgrade

⏫ Updating

Run the following command to update this module:

composer update element119/module-cms-identifier-markup
php bin/magento setup:upgrade

❌ Uninstallation

Run the following command to uninstall this module:

composer remove element119/module-cms-identifier-markup
php bin/magento setup:upgrade

📚 User Guide

Module configuration can be found under Stores -> Settings -> Configuration -> General -> Content Management -> Advanced Content Tools.

Add CMS Block Identifier to Markup toggles this module's functionality on and off. When this option is set to Yes, the custom HTML data- attribute that contains the CMS block's identifier will be added to the markup.

CMS Block Identifier HTML data- Attribute Name sets the name of the custom HTML data- attribute.


paypal

For those that want to support this project.