2014-01-25 09:40
浏览 59

创建magento 1.8自定义模块

I have to write a custom login module for magento 1.8, I'm new to magento and after googling I found this tutorial, but there is a big problem
After creating module when I want to load my own page, 404 error occurs
I can't found anything on magento documentations, please help

Here is my code:


<?xml version="1.0" encoding="utf-8"?> 
     <!-- This node contains parameters, available on frontend --> 
        <!-- Module aliases are located in this block --> 
            <!-- This node's name should be the same as our alias --> 
                <!-- use parameter specifies which of basic routers needs to be used. 
                This can be "standard" for frontend or "admin" for backend --> 
                <!-- router arguments block --> 
                    <!-- This parameter specifies the full name of out module --> 
                    <!-- This parameter sets module alias --> 


<?xml version="1.0" encoding="utf-8"?> 


class Test_Mymodule_IndexController extends Mage_Core_Controller_Front_Action 

   public function indexAction() 
     echo "test"; 

404 page :(

1条回答 默认 最新

相关推荐 更多相似问题