• Stars
    star
    268
  • Rank 153,144 (Top 4 %)
  • Language
    PHP
  • License
    BSD 2-Clause "Sim...
  • Created over 8 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

H&O Magento 2 Advanced Template Hints module

H&O Magento 2 Advanced Template Hints module

Overview

Ho_Templatehints extends the default Magento template hints.

  • Easily accessible with muscle memory ?ath=1.
  • Shows hints for Templates, AbstractBlocks (Blocks), Containers and UI Components.
  • No layout interference: Using css outline instead of borders of other HTML elements, so it doesn't f'up the layout.

Usage $0

Installation

composer require --dev honl/magento2-templatehints
php bin/magento module:enable Ho_Templatehints
php bin/magento setup:upgrade

Development installation (git enabled)

composer require --dev honl/magento2-templatehints "dev-master"
php bin/magento module:enable Ho_Templatehints
php bin/magento setup:upgrade

Configure PHPStorm, allow remote calls

Setting up PHPStorm

Usage

  1. Set your Magento 2 installation to developer mode (when in production mode make sure to add your IP address in Developer Client Restrictions).
  2. Add ?ath=1 to your URL to activate.
  3. Open up your console in you Chrome/Firefox/Safari/IE devtools.
  4. hold (shift)
  5. Hover over the element you wish to inspect
  6. Voila! Hints everywhere!

Hints for hidden elements

You can't show hints for a hidden element, for that purpose there is hint($0):

//Select an element in the Elements panel in your devtools, it is now available with $0
hint($0)

Console $0

Inner Workings

The module adds an additional HTML attribute to the outer most element of a layout element.

Credits

Inspiration from Aoe_TemplateHints and a lot of love from H&O.

Developer

This module was developed by the H&O team. Check out more about this module on the H&O website: H&O Magento 2 Advanced Template hints module

More Repositories

1

magento1-Ho_Import

A Magento Module that allows you to map fields and import all sorts of file formats, sources and entities. Fast and Low Memory
PHP
175
star
2

magento2-ReachDigital_TestFramework

Faster drop-in replacement for Magento's integration test.
PHP
75
star
3

magento1-Ho_nl_NL

Correcte Nederlandse vertalingen voor Magento 1.9.x inclusief e-mailvertalingen.
HTML
47
star
4

magento2-Ho_Import

PHP
38
star
5

magento2-nl_NL

H&O Magento 2 Nederlandse vertalingen / Dutch Translations
PHP
28
star
6

magento1-Ho_Ajax

Maintainers: Paul
PHP
25
star
7

docker-development-box

🐳 Reach Digital Magento 2 Docker+local hybrid devbox 🐳
VCL
19
star
8

magento1-Ho_ShellImport

Deprecated
PHP
12
star
9

magento2-ReachDigital_BetterIndexer

PHP
12
star
10

magento1-Ho_SimpleBundle

Maintainer: Paul Hachmang
PHP
10
star
11

magento1-Ho_Customer

Maintainers: Maikel (Hans)
PHP
10
star
12

magento2-ReachDigital_CompanySwitcher

PHP
10
star
13

BolCom_RetailerApi

Package that talks to the bol.com v8 API
PHP
10
star
14

magento2-ReachDigital_StoreResolver

PHP
9
star
15

magento1-ReachDigital_UrlFixes

PHP
6
star
16

magento2-ReachDigital_Review

Add pros and cons to reviews.
PHP
6
star
17

magento2-ReachDigital_CurrencyPricing

Ability to set prices for products in a specific currency. Replaces currency conversion
PHP
3
star
18

magento2-ReachDigital_InventoryOrderSourceReservations

PHP
3
star
19

magento2-ReachDigital_ProophEventStore

Integration of the Prooph libraries with Magento 2
PHP
3
star
20

magento2-ReachDigital_GuestToShadowCustomer

This module converts guests to customers
PHP
2
star
21

php-connector-lib

Library to create a connector with any eCommerce PHP Platform (M1/M2/etc.)
PHP
1
star
22

magento2-nb_NO

H&O Magento 2 Norsk Bokmål Translations
PHP
1
star
23

magento2-ReachDigital_InventorySourceReservations

Adds Source Reservation support
PHP
1
star
24

magento2-ReachDigital_BlankClassicFrontend

PHP
1
star
25

next-bundlesize-action

Report the bundlesize on a PR
TypeScript
1
star
26

graphcommerce-deployment-workflows

Re-usable github workflows for deploying GraphCommerce to various platforms
1
star