shockwavemk/magento2-module-templatehints
Composer 安装命令:
composer require shockwavemk/magento2-module-templatehints
包简介
Show advanced information for blocks in Magento2 Frontend
README 文档
README
Introduction
The creation, modification and debugging of Magento 2 frontend templates can be supported by enabling the build in "Template Path Hints for Storefront" in Admin configuration of Magento 2.
Store > Configuration > Advanced > Developer > Debug > Enabled Template Path Hints for Storefront > Yes
The result are graphical enhanced frontend blocks with basic information about template pathes.
This information is useful for template-designer and developers to create or modify Magento 2 features, but the information is provided is kept at a very low level:
Default Template-file behavior
Features
This Magento 2 "Templatehints" module addresses that point. New features are added to Template Path Hints functionality of Magento 2:
-
General information is displayed for each block
- Template file
- Block type
- Name of block in layout
- Module for block
- Information about parent block
-
Cache information
-
Cache key of current block
-
Cache Tags of current block
-
Configured lifetime for current block
-
Cache key info string
-
Current status of current block in cache (found, disabled, not found)
Installation of the magento2 template path hints extension
Add the module to your composer file:
{
...
"require": { ...
"shockwavemk/magento2-module-templatehints": "dev-master",
... },
Add my packages server to your composer file:
{ "repositories": [ { "type": "composer", "url": "https://packages.martin-kramer.com" } ] }
shockwavemk/magento2-module-templatehints 适用场景与选型建议
shockwavemk/magento2-module-templatehints 是一款 基于 CSS 开发的 Composer 扩展包,目前已累计 10.8k 次下载、GitHub Stars 达 4, 最近一次更新时间为 2016 年 10 月 14 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 shockwavemk/magento2-module-templatehints 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 shockwavemk/magento2-module-templatehints 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 10.8k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: OSL-3.0
- 更新时间: 2016-10-14