Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options answers only user 2380

Denotes the xml files used to define the block hierarchy which eventually renders the template files.

3
votes
To apply a layout file to all layouts you just need to name it default.xml Don't specify the layout in your code: <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance … " xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> <body> <block class="Elcometer\Product\Block\Header" name="elcoheader" htmlTag="div" template="Elcometer_Product::phtml/header.phtml"/> </body> </page> …
answered Jun 17 '16 by Raphael at Digital Pianism
0
votes
Your class is not properly named. You need to replace: Vendor_Recipe_Block_Recipe_Customer_Manage With: Vendor_Recipe_Block_Recipe_Customer_ManageRecipe And in your layout replaced: vendor_recipe/recipe_customer_manage With: vendor_recipe/recipe_customer_manageRecipe …
answered Nov 2 '16 by Raphael at Digital Pianism
1
vote
One possible issue could be that the page/html/head.phtml template has been modified and the following line has been removed/modified: <?php echo $this->getChildHtml() ?> Try to enable Template Hin …
answered May 23 '16 by Raphael at Digital Pianism
2
votes
That's correct, you cannot move blocks between handles. What you can do is just delete the block from the original handle and recreate it on the other handle: <customer_address_index> <reference …
answered Feb 16 '17 by Raphael at Digital Pianism
5
votes
Setting a block element cacheable attribute to false can serve several purposes! Used for development purposes if you don't want the block to be cached when you develop the block code Make the eleme …
answered Sep 20 '16 by Raphael at Digital Pianism
1
vote
="div" htmlClass="my-custom-wrapper" /> </referenceContainer> I suggest you read the official documentation for layout customization tasks as it's quite well documented: http://devdocs.magento.com/guides/v2.0/frontend-dev-guide/layouts/layout-overview.html …
answered Sep 12 '16 by Raphael at Digital Pianism
2
votes
Well, it's hard to guess just by looking at the website. It's definitely not CSS so it could be one of those two possibilites Removed via XML : if you have a local.xml file, the following code remov …
answered Jun 7 '16 by Raphael at Digital Pianism
9
votes
Answer to your question is definitely no, there is no customer_logged_in handle anymore, I've digged into the code and could not find any layout handle that could do the trick. On top of that under … ', 'customer_logged_out_psc_handle', 'cms_page', 'sku_failed_products_handle', 'catalog_product_send', 'reference', ]; Which to me, clearly tells us that the customer_logged_in layout handle is obsolete now. See Fabian's answer for explanations about how it is done now in Magento 2. …
answered Mar 14 '16 by Raphael at Digital Pianism
1
vote
one is the name of the child the second one is the block itself. So the $pager variable needs to be created using the createBlock() method: $pager = $this->layout->createBlock('Vendor\Module\Block\Catalog\Product\SearchList\Toolbar'); …
answered Jun 20 '16 by Raphael at Digital Pianism
2
votes
According to the default_head_blocks.xml in the blank theme layout: <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc …
answered Jan 19 '17 by Raphael at Digital Pianism
1
vote
" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> <body> <referenceBlock name="checkout.cart.item.renderers"> <referenceBlock name="default" template … /XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> <body> <referenceBlock name="checkout.cart.item.renderers …
answered May 2 '16 by Raphael at Digital Pianism
10
votes
doc: A structure without content that holds other layout elements such as blocks and containers. Details: A container renders child elements during view output generation. It can be … can find more informations at the following links: http://devdocs.magento.com/guides/v2.0/frontend-dev-guide/layouts/layout-overview.html http://alankent.me/2015/01/24/magento-2-containers-and-blocks …
answered Mar 16 '16 by Raphael at Digital Pianism
5
votes
The equivalent of your code in Magento 2 would be: <referenceBlock name="catalog.topnav"> <block class="Magento\Framework\View\Element\Template" name="main-menu" template="Vendor_Module:html/cust …
answered May 30 '16 by Raphael at Digital Pianism
0
votes
Magento provides a placeholder for extensions or custom blocks that you can use which is called checkout.cart.extra as you can see from the cart.phtml template: <div class="col-2"> <?php /* Exten …
answered Sep 27 '16 by Raphael at Digital Pianism
0
votes
Your code is totally right, you need to change the name of your file from: catalog_category_view_type_default.xml To: catalog_category_view_type_default_without_children.xml
answered Jun 20 '16 by Raphael at Digital Pianism

15 30 50 per page