Last active
January 1, 2016 01:59
-
-
Save xcommerce-gists/8076132 to your computer and use it in GitHub Desktop.
Magento simple Hello World extension: Extension configuration file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Magento simple Hello World extension: Extension configuration file | |
* | |
* Every Magento extension must have a config.xml that specifies | |
* necessary configuration information. | |
* Provided for documentation purposes in the | |
* Magento 1.x Extension Developer's Guide | |
* | |
* @copyright Copyright (c) 2014 eBay Inc. (http://www.magentocommerce.com) | |
*/ | |
<config> | |
<modules> <!-- Defines the extension class structure and version --> | |
<Tutorials_Hello> | |
<version>0.1</version> | |
</Tutorials_Hello> | |
</modules> | |
<frontend> | |
<routers> | |
<hello> | |
<use>standard</use> <!-- Extension uses the Magento standard router --> | |
<args> | |
<module>Tutorials_Hello</module> <!-- Notice this matches the value under <modules> --> | |
<frontName>hello</frontName> <!-- Storefront URI used to display text --> | |
</args> | |
</hello> | |
</routers> | |
<layout> | |
<updates> | |
<hello> | |
<file>hello.xml</file> <!-- Extension's TBD --> | |
</hello> | |
</updates> | |
</layout> | |
</frontend> | |
<global> | |
<blocks> | |
<hello> | |
<class>Tutorials_Hello_Block</class> <!-- Extension's block --> | |
</hello> | |
</blocks> | |
</global> | |
</config> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment