开发者

Overriding a Core Controller in Magento

I have been trying to create a core Controller in Magento 1.5.0.1. I have followed the instructions to the letter from this site: http://inchoo.net/tools-frameworks/how-to-extend-magento-core-controller/

The module is not showing up in the admin configuration, I would imagine that it is suppose to. Would anyone be able to advise please?

The config file is located at app/etc/modules and contains the exact code shown here:http://inchoo.n开发者_JS百科et/tools-frameworks/how-to-extend-magento-core-controller/ *

*sorry just figuring out how to put code markup on here, as it doesnt show up correctly.


If the module doesn't show up, the first thing to is to clear caching, or perhaps disable it until you get the lesson working completely. Once you've done that, reload the page and then check the admin panel to see if it appears under the "Disable Modules" menu.

If it still doesn't work, please post your config.xml and also the location of your modules xml file.


Do you work with cache enabled? If so, disable it or refresh it everytime you make a change.
Have you you created your module's declaration xml file? (in app/etc/modules/).


If your file

app/etc/modules/Inchoo_Coreextended.xml

exists and your cache is turned off and it is not listed under System > Configuration > Advanced > Disable Modules Output

then you very likely have the wrong file permissions. Essentially the file is there but can't be read by the server. Check the file's user and group as well as its read/write permissions. If you are unsure you can compare it to app/etc/local.xml

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜