Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pykettk/module-cms-identifier-markup
A Magento 2 module that adds markup to CMS entities to help easily identify them in the admin.
https://github.com/pykettk/module-cms-identifier-markup
Last synced: about 1 month ago
JSON representation
A Magento 2 module that adds markup to CMS entities to help easily identify them in the admin.
- Host: GitHub
- URL: https://github.com/pykettk/module-cms-identifier-markup
- Owner: pykettk
- License: osl-3.0
- Created: 2022-09-20T10:38:27.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-04-23T19:57:46.000Z (over 1 year ago)
- Last Synced: 2024-09-24T18:07:02.161Z (about 2 months ago)
- Language: PHP
- Size: 13.7 KB
- Stars: 5
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
element119 | CMS Identifier Markup
![github release](https://img.shields.io/github/v/release/pykettk/module-cms-identifier-markup?color=ffbf00&label=version)
![github release date](https://img.shields.io/github/release-date/pykettk/module-cms-identifier-markup?color=8b32a8&label=last%20release)
![magento](https://img.shields.io/badge/Magento-^2.4.4-ec6611.svg)
![license](https://img.shields.io/badge/license-OSL-ff00dd.svg)
![packagist downloads](https://img.shields.io/packagist/dt/element119/module-cms-identifier-markup?color=ff0000)---
## 📝 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:
```bash
composer require element119/module-cms-identifier-markup
php bin/magento setup:upgrade
```
## ⏫ Updating
Run the following command to *update* this module:
```bash
composer update element119/module-cms-identifier-markup
php bin/magento setup:upgrade
```
## ❌ Uninstallation
Run the following command to *uninstall* this module:
```bash
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.
![](https://user-images.githubusercontent.com/40261741/191317592-d00ad968-ac69-4ff7-80c8-426d39e298de.png)
---
[![paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://paypal.me/pykettk)
For those that want to support this project.