2017 © Pedro Peláez
 

magento2-module missing-block-name

Magento 2 Module to fix issue related to block having an alias but no block name allowing template overwrites

image

diglin/missing-block-name

Magento 2 Module to fix issue related to block having an alias but no block name allowing template overwrites

  • Tuesday, March 6, 2018
  • by diglin
  • Repository
  • 1 Watchers
  • 0 Stars
  • 13 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 18 % Grown

The README.md

Diglin_MissingBlockName - Magento 2.x Module

Fix issue with block having an alias but no name. It allows developer to overwrite template more easily, (*1)

Related to pull request I did here: https://github.com/magento/magento2/pull/7272, (*2)

Instructions

When a block use only an alias "as", a name to this block will be defined with a combination of the class name of the block and the alias. For example, the block Magento\Sales\Block\Adminhtml\Items\Renderer\DefaultRenderer has just the alias as="default", the block name will be magento_sales_block_adminhtml_items_renderer_defaultrenderer_default, (*3)

The Versions

06/03 2018

dev-master

9999999-dev

Magento 2 Module to fix issue related to block having an alias but no block name allowing template overwrites

  Sources   Download

OSL-3.0

The Requires

  • php ~5.5.0|~5.6.0|~7.0|~7.1
  • magento/framework ^100.1.0|^101.0.0

 

by Sylvain Rayé

06/03 2018

1.0.3

1.0.3.0

Magento 2 Module to fix issue related to block having an alias but no block name allowing template overwrites

  Sources   Download

OSL-3.0

The Requires

  • php ~5.5.0|~5.6.0|~7.0|~7.1
  • magento/framework ^100.1.0|^101.0.0

 

by Sylvain Rayé

06/03 2018

1.0.2

1.0.2.0

Magento 2 Module to fix issue related to block having an alias but no block name allowing template overwrites

  Sources   Download

OSL-3.0

The Requires

  • php ~5.5.0|~5.6.0|~7.0|~7.1
  • magento/framework 100.1.*|^101.0.0

 

by Sylvain Rayé

14/01 2017

1.0.0

1.0.0.0

Magento 2 Module to fix issue related to block having an alias but no block name allowing template overwrites

  Sources   Download

OSL-3.0

The Requires

  • php ~5.5.0|~5.6.0|~7.0
  • magento/framework 100.1.*

 

by Sylvain Rayé