Skip to content

Instantly share code, notes, and snippets.

@desbest
Created July 4, 2012 11:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save desbest/102c7ca470c175b50570 to your computer and use it in GitHub Desktop.
Save desbest/102c7ca470c175b50570 to your computer and use it in GitHub Desktop.
Desbest_Showdown Magento extension config.xml
<?xml version="1.0"?>
<config>
<modules>
<Desbest_Showdown>
<version>1</version>
</Desbest_Showdown>
</modules>
<frontend>
<routers>
<test>
<use>standard</use>
<args>
<module>Desbest_Showdown</module>
<frontName>showdown</frontName>
</args>
</test>
</routers>
<layout> <!-- New Section Added -->
<updates>
<showdown>
<file>Desbest_Showdown/layout.xml</file> <!-- This is name of the layout file for this module -->
</showdown>
</updates>
</layout>
</frontend>
<global>
<blocks>
<showdown>
<class>Desbest_Showdown_Block</class>
</showdown>
</blocks>
<helpers>
<showdown>
<class>Desbest_Showdown_Helper</class>
</showdown>
</helpers>
<!-- database stuff onwards -->
<resources>
<showdown_setup>
<setup>
<module>Desbest_Showdown</module>
<class>Desbest_Showdown_Model_Resource_Mysql4_Setup</class>
</setup>
<connection><use>core_setup</use></connection>
</showdown_setup>
<showdown_write><connection><use>core_write</use></connection></showdown_write>
<showdown_read><connection><use>core_read</use></connection></showdown_read>
</resources>
</global>
</config>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment