根据在线教程,我正在制作我的第一个自定义模块。我知道必须为系统创建某些XML文件才能“发现”我的模块,但是即使我破坏XML,也看不出任何区别,或者有时我看到一个页面,告诉我有一个错误报告,其中被隐藏。我如何找到这些错误报告,并且在开发过程中有没有办法从系统中获取反馈?
这是我的文件app / etc / modules / BlueAcorn_Test.xml:
<?xml version="1.0" encoding="UTF-8"?>
<config>
    <modules>
        <BlueAcorn_ExampleModule>
            <active>true</active>
            <codepool>local</codepool>
        </BlueAcorn_ExampleModule>
    </modules>
</config>这是我在app / code / local / Blueacorn / Example / etc / config.xml中的配置文件:
<?xml version="1.0" encoding="UTF-8"?>
<config>
    <global>
        <blocks>
            <test>
                <class>BlueAcorn_ExampleModule_Block</class>
            </test>
        </blocks>
        <layout>
            <updates>
                <test>
                    <file>example.xml</file>
                </test>
            </updates>
        </layout>
    </global>
</config>