Alan Storm关于Layoutviewer(Magento)的教程

0 magento

我使用的是Magento 1.3.2.1版.我已经安装了配置查看器,但无法使Layoutview工作.Magento不会加载.获得500内部服务器错误.我从他的网站上复制了代码.Derectory树:

Magentotutorial
  Configviewer
     subdirectory
  Layoutviewer
     subdirectorys
Run Code Online (Sandbox Code Playgroud)

我复制了configviewer.xml,只将名称更改为layoutviewer.xml

谁能帮我?谢谢

Jon*_*Day 8

您在谈论哪个configviewer.xml?app\etc\modules\alanstormdotcom_configviewer.xml?如果你复制了它,你需要编辑它的内容,使它看起来像:

<config>
  <modules>
    <Alanstormdotcom_Layoutviewer>
        <active>true</active>
        <codePool>local</codePool>
    </Alanstormdotcom_Layoutviewer>
  </modules>
</config>
Run Code Online (Sandbox Code Playgroud)