Show advanced information for blocks in Magento2 Frontend
, (*1)
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., (*2)
Store > Configuration > Advanced > Developer > Debug > Enabled Template Path Hints for Storefront > Yes, (*3)
The result are graphical enhanced frontend blocks with basic information about template pathes., (*4)
, (*5)
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:, (*6)
This Magento 2 "Templatehints" module addresses that point. New features are added to Template Path Hints functionality of Magento 2:, (*7)
General information is displayed for each block, (*8)
Cache information, (*9)
Add the module to your composer file:, (*10)
{, (*11)
..., (*12)
"require": { ..., (*13)
"shockwavemk/magento2-module-templatehints": "dev-master",, (*14)
... },, (*15)
Add my packages server to your composer file:, (*16)
{ "repositories": [ { "type": "composer", "url": "https://packages.martin-kramer.com" } ] }, (*17)