Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /app/etc/modules/Alanstormdotcom_Weblog.xml:
- <config>
- <modules>
- <Alanstormdotcom_Weblog>
- <active>true</active>
- <codePool>local</codePool>
- </Alanstormdotcom_Weblog>
- </modules>
- </config>
- /app/code/local/Alanstormdotcom/Weblog/etc/config.xml:
- <config>
- <modules>
- <Alanstormdotcom_Weblog>
- <version>0.1.0</version>
- </Alanstormdotcom_Weblog>
- </modules>
- <frontend>
- <routers>
- <weblog>
- <use>standard</use>
- <args>
- <module>Alanstormdotcom_Weblog></module>
- <frontName>weblog</frontName>
- </args>
- </weblog>
- </routers>
- </frontend>
- </config>
- /app/code/local/Alanstormdotcom/Weblog/controllers/IndexController.php:
- <?php
- class Alanstormdotcom_Weblog_IndexController extends Mage_Core_Controller_Front_Action {
- public function testModelAction() {
- echo('Setup!');
- }
- }
- ?>
Add Comment
Please, Sign In to add comment