2017 © Pedro Peláez
 

magento2-module magento2-module-templatehints

Show advanced information for blocks in Magento2 Frontend

image

shockwavemk/magento2-module-templatehints

Show advanced information for blocks in Magento2 Frontend

  • Tuesday, January 10, 2017
  • by shockwavemk
  • Repository
  • 2 Watchers
  • 4 Stars
  • 2,031 Installations
  • CSS
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 6 Versions
  • 24 % Grown

The README.md

Magento 2 - Enhanced template hints

Introduction

templatehings-magento2-settings, (*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)

magento2-templatehints, (*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)

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:, (*7)

  • General information is displayed for each block, (*8)

    • Template file
    • Block type
    • Name of block in layout
    • Module for block
    • Information about parent block
  • Cache information, (*9)

    • 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:, (*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)

The Versions

10/01 2017

dev-develop

dev-develop

Show advanced information for blocks in Magento2 Frontend

  Sources   Download

OSL-3.0 AFL-3.0

10/01 2017

dev-master

9999999-dev

Show advanced information for blocks in Magento2 Frontend

  Sources   Download

OSL-3.0 AFL-3.0

10/01 2017

v1.1.2

1.1.2.0

Show advanced information for blocks in Magento2 Frontend

  Sources   Download

OSL-3.0 AFL-3.0

06/01 2017

dev-feature/missing-debug-hints-path

dev-feature/missing-debug-hints-path

Show advanced information for blocks in Magento2 Frontend

  Sources   Download

OSL-3.0 AFL-3.0

05/08 2016

v1.1.1

1.1.1.0

Show advanced information for blocks in Magento2 Frontend

  Sources   Download

OSL-3.0 AFL-3.0

14/12 2015

v1.0.0

1.0.0.0

Show advanced information for blocks in Magento2 Frontend

  Sources   Download

OSL-3.0 AFL-3.0