2017 © Pedro Peláez
 

magento2-module betterblockhints

Better template block hints for designing Magento2 templates and modifying layout XML

image

rsc/betterblockhints

Better template block hints for designing Magento2 templates and modifying layout XML

  • Wednesday, August 2, 2017
  • by baublet
  • Repository
  • 1 Watchers
  • 4 Stars
  • 303 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 1 Open issues
  • 2 Versions
  • 1 % Grown

The README.md

BetterBlockHints

Better Block Hints is a very simple Magento2 extension for helping you work with Magento2's templating system. The default block hints don't include a lot of vital information, such as the block name. It's also extremely ugly and can wreak havok on your layout so that you can't really roll with template hints on., (*1)

This extension helps address this problem by making block hints toggleable in the browser, and showing much more useful information., (*2)

Installation

Navigate to your base Magento2 directory (the one with the app, pub, and dev directories and run the command composer require rsc/betterblockhints --dev. Then run bin/magento setup:upgrade., (*3)

Use

Turn on template path hints in Magento 2., (*4)

Refresh your page and hold either the ALT, SHIFT, CMD, or CTRL keys to show template hints. To get information about a block, hover over it and click it. The block you wanted to learn more about will stay fixed to the middle of the screen until you press any action key again (control, shift, command, or alt)., (*5)

Note: This extension is designed to minimize display errors typically caused by template hints, but may not eliminate them entirely. Test your layouts with hints off to be sure of your changes., (*6)

Demonstration of BetterBlockHints in Action, (*7)

The Versions

02/08 2017

dev-master

9999999-dev

Better template block hints for designing Magento2 templates and modifying layout XML

  Sources   Download

The Requires

  • php ~5.6.5|7.0.2|7.0.4|~7.0.6

 

01/06 2017

0.1.0

0.1.0.0

Better template block hints for designing Magento2 templates and modifying layout XML

  Sources   Download

The Requires

  • php ~5.6.5|7.0.2|7.0.4|~7.0.6