Magento Layoutviewer(Alan Storm)在安装后无法正常工作

时间:2016-03-04 13:05:26

标签: magento-1.9

Magento版本:1.9.2.4

我目前正在完成本教程,并且正在尝试安装Layoutviewer模块。

我按照页面上的链接到我可以获取布局查看器的位置,然后使用this页面上的手动安装指南进行安装。

magento正在检测模块,并列在Disable Modules Output部分(已启用)。

模块的目录树如下:

magento1
    app
        code
            local
                Magentotutorial
                    Layoutviewer

我还确保配置文件的名称和内容100%正确。

当我尝试使用模块(http://127.0.0.1/magento1/helloworld/index/index/?showLayout=page)时,它无法正常工作,只是向我显示以前的屏幕。

我有什么遗漏,或者我是否错误地安装了模块?

修改

我已经发现this previous question与我的基本相同,但它已经很老了,所以我不想评论 - 它没有帮我解决问题。

2 个答案:

答案 0 :(得分:0)

问题已解决:

我将Layoutviewer放在Magentotutorial目录中,但它应该在它自己的(Alanstormdotcom)目录中。

这两种解决方案都有效:

  • 将模块移动到正确的目录或
  • 将所有对Alanstormdotcom / alanstormdotcom的引用替换为Magentotutorial / magentotutorial

答案 1 :(得分:0)

发现这个谷歌搜索同样的问题。我的问题是我将Storm的模块放在/community/Alanstormdotcom/中。它不会在那里工作,它必须在 local /local/Alanstormdotcom/)。