Alan Storm关于Layoutviewer(Magento)的教程

时间:2011-04-28 20:37:57

标签: magento

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

Magentotutorial
  Configviewer
     subdirectory
  Layoutviewer
     subdirectorys

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

任何人都可以帮助我吗? 感谢

1 个答案:

答案 0 :(得分:7)

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

<config>
  <modules>
    <Alanstormdotcom_Layoutviewer>
        <active>true</active>
        <codePool>local</codePool>
    </Alanstormdotcom_Layoutviewer>
  </modules>
</config>