Skip to main content
replaced http://magento.stackexchange.com/ with https://magento.stackexchange.com/
Source Link

I want to use below code in controller but not working.

$block = $this->getLayout()->getBlock('catalog.leftnav');

I used in phtml file herehere, it is working fine. but it is not working in controller.

Can any one help me on this issue.

I want to use below code in controller but not working.

$block = $this->getLayout()->getBlock('catalog.leftnav');

I used in phtml file here, it is working fine. but it is not working in controller.

Can any one help me on this issue.

I want to use below code in controller but not working.

$block = $this->getLayout()->getBlock('catalog.leftnav');

I used in phtml file here, it is working fine. but it is not working in controller.

Can any one help me on this issue.

edited body
Source Link
Krishna ijjada
  • 9k
  • 6
  • 42
  • 70

I want to use below code in controller but not working.

$block = $this->getLayout()->getBlock('catalog.leftnav');

I used in phtml file here, it is working fine. but it is not working in controller.

Can any one help me on this queryissue.

I want to use below code in controller but not working.

$block = $this->getLayout()->getBlock('catalog.leftnav');

I used in phtml file here, it is working fine. but it is not working in controller.

Can any one help me on this query.

I want to use below code in controller but not working.

$block = $this->getLayout()->getBlock('catalog.leftnav');

I used in phtml file here, it is working fine. but it is not working in controller.

Can any one help me on this issue.

Source Link
Krishna ijjada
  • 9k
  • 6
  • 42
  • 70

How to csll Catalog/Layer_View block in controller to get loaded attributes

I want to use below code in controller but not working.

$block = $this->getLayout()->getBlock('catalog.leftnav');

I used in phtml file here, it is working fine. but it is not working in controller.

Can any one help me on this query.