-
-
Save desbest/8a2da27d4f71834292f6 to your computer and use it in GitHub Desktop.
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
<?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> | |
<models> | |
<showdown> | |
<class>Desbest_Showdown_Model</class> | |
<resourceModel>showdown_mysql4</resourceModel> <!-- mysql shake --> | |
</showdown> | |
<!-- mysql stuff onwards --> | |
<showdown_mysql4> | |
<class>Desbest_Showdown_Model_Mysql4</class> | |
<entities> | |
<matches><table>showdown_matches</table></matches> | |
<votes><table>showdown_votes</table></votes> | |
</entities> | |
</showdown_mysql4> <!-- mysql stuff ends --> | |
</models> | |
<!-- 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> | |
<!-- cron jobs onwards --> | |
<crontab> | |
<jobs> | |
<crondanewmatch> | |
<schedule> | |
<cron_expr>*/0 0 * * *</cron_expr> | |
</schedule> | |
<run> | |
<model>Desbest_Showdown/cron::makematch</model> | |
</run> | |
</crondanewmatch> | |
</jobs> | |
</crontab> | |
</global> | |
<!-- access control --> | |
<adminhtml> | |
<acl> | |
<resources> | |
<admin> | |
<children> | |
<system> | |
<children> | |
<config> | |
<children> | |
<showdown> | |
<title>Settings</title> | |
</showdown> | |
</children> | |
</config> | |
</children> | |
</system> | |
</children> | |
</admin> | |
</resources> | |
</acl> | |
</adminhtml> | |
<default> | |
<showdown> <!-- section --> | |
<dagroup> <!-- group --> | |
<dailymatches>1</dailymatches> | |
<maxmatchvotes>100</maxmatchvotes> | |
<!-- <blah><![CDATA[<strong>html tags</strong>]]></blah> | |
<blah2><![CDATA[cdata@foremail.addresses]]></blah2> --> | |
</dagroup> | |
</showdown> | |
</default> | |
</config> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment