Questions tagged [update-handle]
Donates questions related to layout handles.
38
questions
0
votes
1answer
13 views
Magento: Admin Content Configuration gives error handle not registered design_config_listing_data_source
When I opens the Magento 2 Admin-> Content -> Configuration it through an error Not registered handle design_config_listing_data_source
And it exists in both etc/di.xml and also added in ...
0
votes
1answer
93 views
Update Handler is not getting called
I am following the exact same logic as CatalogRule. Everything is working properly. All data are saving in my vendor_rule table but website ids are not saving in my vendor_rule_website.
I do have ...
1
vote
2answers
396 views
Magento 2 Layout update xml not working for categories
I try to use my customized .phtml file for a certain category.
I go in Admin->Catalog->Categories->Design->Layout update xml
I put the following code in the field layout update xml,
&...
1
vote
1answer
1k views
Magento2 Not registered handle
All the Grid's from Sales menus are giving Not registered handle error.
Grid's from Catalog menus are working fine.
Some custom grids are working and some are not, even I have installed a new module ...
2
votes
5answers
950 views
What is the use of the customer_account.xml layout file?
Because the customer_account.xml layout file doesn't match any front actions, then how this handle called and what are the places this is used, is it possible to have custom handles and add into the ...
4
votes
2answers
2k views
Conditional Layout - Logged in / out in Magento 2 [duplicate]
How can I remove certain elements in the layout, but only when the customer is not logged in? In Magento 1, there was a logged in handle, but is there an equivalent in Magento 2?
6
votes
0answers
465 views
How to ignore(remove) <update handle=“name” added in other layout
module-sales/view/frontend/layout/sales_order_view.xml
has following code:
<update handle="sales_order_info_links"/>
Is there any pretty way to remove such updates?
p.s. I know about ...
1
vote
0answers
104 views
Magento 2 handle tag explained
1.Why is there an update tag inside checkout_item_price_renderers.xml with the same file name?
<update handle="checkout_item_price_renderers"/>
2.The update tag will look for the file with the ...
5
votes
1answer
485 views
condition based add tab on Product page - magento2
I want to add a tab on product view page in magento2.
That tab will only be visible if the customer belongs to a certain customer group.
Tabs are added via XML file, how can I create a custom ...
0
votes
1answer
2k views
How to add a custom block or template to specific 2columns-left layout only
We are trying to add newsletter template to pages that are only have 2columns-left layout, for that we have created a custom module and added below code, but it seems it is not working. Can any one ...
1
vote
2answers
1k views
Layout handle explanation about catalog/category page
I would like to have a specific and precise explanation about the layout handle of catalog/category page.
From my knowledge i know that there are three different layout handles: catalog_category_view,...
2
votes
1answer
1k views
layout handle priority in magento 2
It seems that in magento 2 the cms_page_view layout handle has a higher priority then then the cms_index_index layout handle. (wich seems very illogical)
The scenario is that for all the cms pages I ...
1
vote
1answer
54 views
Adding new handle from observer issue
I am using this event for my observer: controller_action_layout_load_before.
This is my method from my observer:
public function controllerActionLayoutLoadBefore(Varien_Event_Observer $observer)
{
...
1
vote
1answer
61 views
Call <update> handler from within <block>
I'm still pretty new to Magento (1.9 EE) so some of my terminology may be incorrect, apologies if so.
Anyway, in one of my layout XML files, I have a custom block which I can include using the update ...
0
votes
2answers
2k views
How can i Bulk Change Category Page Title, Meta Description/Keywords
I need to Change SEO keywords for categories. How can i Bulk Change Category Page Title, Meta Description/Keywords.
3
votes
1answer
709 views
Possible XML handles in Magento 2?
I'm aware of how the XML system in Magento works with handles such as catalog_product_view.xml and catalog_category_view.xml to define resources for specific (sorts) of pages.
For seperate simple ...
2
votes
1answer
809 views
Naming convention of Layered Naviations layout file to override state.phtml Magento 2
How is this layout file named , i mean on what basis. (Since there is no controller and router xml)
Magento\LayeredNavigation\view\frontend\layout\catalog_category_view_type_layered.xml
If im ...
2
votes
1answer
3k views
Is it possible to use update handle XML in a theme, used in multiple modules layout XML?
Within a Magento 2 theme, given an XML layout file such as the following, named for example, remove_header.xml:
<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-...
9
votes
4answers
12k views
How to add custom layout handles programatically for Category View in Magento 2
So, I want to add a custom layout handle for all category view pages.. the handle that is supposed to be loaded depends on certain category parameters, so the handle needs to be added programmatically ...
0
votes
2answers
290 views
how customer_logged_in / out works?
I can't figure out how customer_logged_in and customer_logged_out work
<customer_logged_out>
...
</customer_logged_out>
where are they defined, how are they called?
EDIT
<events>...
4
votes
1answer
2k views
Magento 2: replacement for the <PRODUCT_TYPE_simple>, <PRODUCT_TYPE_configurable> etc… product type specific layout handles
In Magento 1, we had some specific layout handles for each product types:
<PRODUCT_TYPE_simple>
<PRODUCT_TYPE_configurable>
<PRODUCT_TYPE_grouped>
<PRODUCT_TYPE_bundle>
<...
0
votes
1answer
1k views
How to create custom email handle in Magento
I need to create a new handle (I think) to a module that sends a email order notification to admin. The module uses that same default.phtml template for both the emails sent to admin and to the ...
9
votes
4answers
6k views
Magento 2: How to use the Layout Handle customer_logged_in?
Does Magento 2 have such handle as customer_logged_in? If yes how can I use it?
I tried to create
../view/frontend/layout/customer_logged_in.xml
and added there <referenceBlock name="content" ...
1
vote
1answer
138 views
Magento 1: Which ACL is related to the editor handle?
I'm using the following observer to add the editor handle to a System > Configuration section:
Partial config.xml:
<adminhtml>
<!-- Events -->
<events>
<!-- ...
1
vote
1answer
644 views
Call <PRODUCT_TYPE_configurable> layout handle on homepage
I'm using two modules to manage in stock/out of stock info and configurable product options (custom swatches). And there is also Ajax AddtoCart extension.
There three work perfectly on product view ...
1
vote
1answer
2k views
Use custom layout handle for cms page view
I'm trying since hours to get my custom layout handle to work.
I have a cms page that calls the layout handle "cms_page_view".
Now I want to set in my custom module a new layout handle:
config.xml
&...
0
votes
1answer
154 views
update custom layout does not show custom style
I have an extra link for a custom style which is a logo that I should show only in one specific category, category id is 1262 so I did this:
<CATEGORY_1262>
<reference name="head">
...
1
vote
2answers
970 views
Magento command line
I'm trying to update my magento from command line.
I changed mage permissions to 755
chmod 755 mage
Then I launched mage-setup
./mage mage-setup
But when I try other commands the following error ...
2
votes
2answers
502 views
Reference Head from custom layout handle
I'm having an issue adding JS and CSS files to the head using a custom handle. Here is a simplified version of my controller action:
public function indexAction() {
$this->loadLayout();
$...
0
votes
1answer
129 views
Add JS to specific pages if logged in
I'm writing a module containing some js that is only relevant if the user is logged in. As it is in use only on catalog_product_view & catalog_list_view I use their equivalent layout handles for ...
2
votes
1answer
459 views
Load custom layout handle after catalog_category_view
I am currently trying to load a custom layout handle after the catalog_category_view handle through the use of an observer that looks for the event catalog_controller_category_init_after.
The layout ...
2
votes
1answer
837 views
Add handle from backend into frontend layout
I am working in a marketplace extension and I need to use some blocks from adminhtml(backend blocks), Actually I want to use all blocks in handle to be used in the frontend by sellers to add their ...
0
votes
1answer
563 views
remove a top link from an handler
I need to remove this link only from a custom handle. The handle is working, but I cannot find the right syntax to remove the link, maybe removeLinkByUrl or byName.
<reference name="top.links">&...
4
votes
2answers
2k views
How does it get determined which layout handles a request will use?
Which rules exist?
Is it just a question of configuration?
Can I manipulate it?
Is the order relevant (which I have seen with the Layoutviewer module)?
1
vote
1answer
2k views
How to update `catalog_category_view` using observer?
I am trying to set a root template to handler catalog_category_view through an observer. I know I can achieve it through layout update. But believe me I really need to dynamically set root template ...
1
vote
2answers
622 views
Block is repeated while creating a new layout update handler
I recently start on Magento for one of my project and facing a few issues with a functionality i am trying to build. Basically, I want to create a separate section for customer profile. In this ...
2
votes
1answer
372 views
How to render custom handle only?
My handle is av_paginator_result
It's for ajax request and it should echo some short result.
<layout version="0.1.0">
<av_paginator_result>
<block type="catalog/product_list" ...
2
votes
1answer
2k views
Provide Frontend layout handle to Adminhtml to render Frontend page/blocks
I'm currently working on a project which requires an area in the Admin panel which allows the admin to modify order related data (custom data set on order items) that can only be handled through a ...