Skip to content

Latest commit

 

History

History
77 lines (50 loc) · 2.22 KB

README.md

File metadata and controls

77 lines (50 loc) · 2.22 KB

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.