我正在尝试创建一个简单的magento模块用于学习目的,目前我正在尝试使用模块特定设置在客户部分下显示设置选项卡,但我无法显示任何内容,尽管模块确实显示在admin/system/configuration/disable modules output
中。请帮我理解我做错了什么。我的块文件夹是空的,所以我希望在进入用户管理部分时出现某种错误,但我没有收到任何错误。我的代码和路径在
app\etc\modules\BlueM_ProdDeliveryCalender.xml
<config>
<modules>
<BlueM_ProdDeliveryCalender>
<active>true</active>
<codePool>community</codePool>
<depends>
<Mage_Adminhtml />
</depends>
</BlueM_ProdDeliveryCalender>
</modules>
</config>
app\code\community\BlueM\ProdDeliveryCalender\etc\config.xml
<config>
<modules>
<BlueM_ProdDeliveryCalender>
<version>0.0.0.1</version>
</BlueM_ProdDeliveryCalender>
</modules>
<global>
<models>
<BlueM_ProdDeliveryCalender>
<class>BlueM_ProdDeliveryCalender_Model</class>
<resourceModel>ProdDeliveryCalender_resource</resourceModel>
</BlueM_ProdDeliveryCalender>
<ProdDeliveryCalender_resource>
<class>BlueM_ProdDeliveryCalender_Model_Resource</class>
<entities>
<ProdDeliveryCalender>
<table>BlueM_prodDdliverycalender_settings</table>
</ProdDeliveryCalender>
</entities>
</ProdDeliveryCalender_resource>
</models>
<resources>
<BlueM_ProdDeliveryCalender_setup>
<setup>
<module>BlueM_ProdDeliveryCalender</module>
<class>Mage_Core_Model_Resource_Setup</class>
</setup>
</BlueM_ProdDeliveryCalender_setup>
</resources>
<blocks>
<BlueM_ProdDeliveryCalender>
<class>BlueM_ProdDeliveryCalender_Block</class>
</BlueM_ProdDeliveryCalender>
</blocks>
</global>
<Admin>
<routers>
<Adminhtml>
<args>
<modules>
<BlueM_ProdDeliveryCalender before="Mage_Adminhtml">
BlueM_ProdDeliveryCalender_Adminhtml
</BlueM_ProdDeliveryCalender>
</modules>
</args>
</Adminhtml>
</routers>
</Admin>
<Adminhtml>
<layout>
<updates>
<BlueM_ProdDeliveryCalender module="BlueM_ProdDeliveryCalender">
<file>Blue_ProdDeliveryCalender.xml</file>
</BlueM_ProdDeliveryCalender>
</updates>
</layout>
</Adminhtml>
</config>
app\design\adminhtml\default\default\layout\BlueM_ProdDeliveryCalender.xml
<?xml version="1.0"?>
<layout version="0.0.1">
<adminhtml_customer_edit>
<reference name="left">
<reference name="customer_edit_tabs">
<block type="BlueM_ProdDeliveryCalender/adminhtml_customer_
edit_tab_ProdDeliveryCalender" name="tab_ProdDeliveryCalender_main" template="BlueM_
ProdDeliveryCalender/ProdDeliveryCalender/customer/main.phtml">
</block>
<action method="addTab">
<name>BlueM_ProdDeliveryCalender</name>
<block>tab_ProdDeliveryCalender_main</block>
</action>
</reference>
</reference>
</adminhtml_customer_edit>
</layout>