Y
Y
yv19952016-10-26 14:00:30
Magento
yv1995, 2016-10-26 14:00:30

Layout block is not picked up in magento, what could be. problem?

There is a block that lies along the path block/adminhtml/cmslinks/grid.php
There is also a description for layout in config.xml
cmsmenu.xml
In the cmsmenu.xml file that lies in design/adminhtml/../../layout/cmsmenu .xml
At what here the first block was picked up and displayed => the file was 100% picked up!
customcmsmenu.page.tabcustomcmsmenu/adminhtml_tab_pagecustomcmsmenu.adminhtml.cmslinks.gridgetSelectedRelatedLinkslinks[related]links_relatedposition
And the actual controller file
public function gridAction()
{
$this->loadLayout();
var_dump($this->getLayout()
->getBlock('customcmsmenu.adminhtml.cmslinks.grid'));
$this->renderLayout();
}
Returns false!

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question