I am creating a custom admin module, but I canโt put the contents in it, it is always empty, I try with simple code for the test, but nothing works
public function indexAction() { $this->loadLayout(); $this->_addContent($this->getLayout()->createBlock('adminhtml/template')->setTemplate('uhmaadmin/contactos.list.phtml')->toHtml()); $this->renderLayout(); }
a in .phtml
echo 'hello world';
but it doesnโt print anything, if you make a mistake in phtml, the system crashes, it means that it receives the file, but that I am losing please help
oop php argument-passing magento
Castro roy
source share