Let's say that we have this controller :
<?php
class Hello_World_IndexController extends Mage_Core_Controller_Front_Action
{
public function indexAction()
{
echo 'Hello Stackers !' ;
}
}
Obviously, when triggering this controller, we will have a black message Hello Stackers !, and the controller page is not having/importing any theme (JS, CSS) files even in the default (rwd) Magento theme .
How can we import theme in controllers pages ?
Hello Stackers !, and importing the desired JS/CSS files ? EDIT: Just like creating an empty design layout page from CMS-Pages . – androniennn Dec 21 '16 at 12:42echodirectly in your controller, here's why: http://magento.stackexchange.com/q/110845/2380 – Raphael at Digital Pianism Dec 21 '16 at 13:31