我正在製作一個已啓用的Magento模塊,並且我的緩存已關閉。我無法訪問我的新Magento模塊的控制器(教程幫助)
使用本教程... http://www.pierrefay.com/magento-create-controller-36
這裏的控制器我被要求在app/code/local/Pfay/Test
使用。
class Pfay_Test_IndexController extends Mage_Core_Controller_Front_Action
{
public function indexAction()
{
echo 'test index';
}
public function mamethodeAction()
{
echo 'test mymethod';
}
}
但是,當我在我的網絡瀏覽器中去magento/Pfay/Test/index
,我得到一個404頁面,而不是控制器。
在什麼文件夾中放置了控制器文件? –
你可以發佈你的config.xml請 –
'magneto/app/code/local/Pfay/Test/controllers' – desbest