Magento Layoutviewer (Alan Storm) 安装后不工作
Magento Layoutviewer (Alan Storm) not working after installation
Magento 版本:1.9.2.4
我目前正在学习本教程,并正在尝试安装 Layoutviewer 模块。
我按照页面上的 link 找到布局查看器,然后使用 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,和我的基本一样,但是太老了所以我不想评论-它没有帮助我解决问题。
已解决的问题:
我将 Layoutviewer 放在 Magentotutorial 目录中,但它应该在它自己的 (Alanstormdotcom
) 目录中。
这两种解决方案都有效:
- 将模块移动到正确的目录或
- 将所有对 Alanstormdotcom/alanstormdotcom 的引用替换为 Magentotutorial/magentotutorial
发现这个谷歌搜索同样的问题。我的问题是我将 Storm 的模块放在 /community/Alanstormdotcom/
中。它不会从那里工作,它必须在 local (/local/Alanstormdotcom/
).
Magento 版本:1.9.2.4
我目前正在学习本教程,并正在尝试安装 Layoutviewer 模块。
我按照页面上的 link 找到布局查看器,然后使用 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,和我的基本一样,但是太老了所以我不想评论-它没有帮助我解决问题。
已解决的问题:
我将 Layoutviewer 放在 Magentotutorial 目录中,但它应该在它自己的 (Alanstormdotcom
) 目录中。
这两种解决方案都有效:
- 将模块移动到正确的目录或
- 将所有对 Alanstormdotcom/alanstormdotcom 的引用替换为 Magentotutorial/magentotutorial
发现这个谷歌搜索同样的问题。我的问题是我将 Storm 的模块放在 /community/Alanstormdotcom/
中。它不会从那里工作,它必须在 local (/local/Alanstormdotcom/
).