questions

0 Answers

Wondering about identify layout template

Asked by: tonytuan 2937 views Questions

I read “Magento for developer” at page:

http://www.magentocommerce.com/knowledge-base/entry/magento-for-dev-part-4-magento-layouts-blocks-and-templates

but I wonder how Magento can know local.xml as layout of helloworld module. In the code of controller this module used to call as:

public function indexAction() {

    //remove our previous echo

    //echo ‘Hello Index!’;

    $this->loadLayout();

    $this->renderLayout();

 

}

Can I rename to local2.xml but page also know?


Answer Question