1.

When Do We Need To Disable Layout?

Answer»

At the TIME of calling AJAX to FETCH we NEED to disable LAYOUT.
$this->_helper->layout()->disableLayout();
$this->_helper->viewRenderer->setNoRender(TRUE);

At the time of calling AJAX to fetch we need to disable layout.
$this->_helper->layout()->disableLayout();
$this->_helper->viewRenderer->setNoRender(true);



Discussion

No Comment Found