'Magento removing widget from layout
How can I remove widget from layout? I added category_widget_link using install script, deleted that widget from database directly (I know I shoudn't :) ) and after that in admin panel too. It still shows up. Thanks for the answers in advance.
Solution 1:[1]
Use xml to remove (<remove name="search correct block">)
Example go to the page or category in magento in admin part of xml scripts and place , your header of the page or category will disappear, you just find the straight-laced block name and removing it, look for the name him in the layout / folder widget.xml will be somewhere
Solution 2:[2]
Just in case someone need the answer for this.
I noticed that there're still some record left behind in the "widget_instance_page_layout" table.
So all we need to do is delete the record that's still left behind inside the "layout_update" table in your database after you remove the widget.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Dexxtz |
| Solution 2 | quoc phu phan |
