このチュートリアルに従って、Magento 用のカスタム CMS レイアウトを作成しました。私のローカルホスト (Win7 の XAMPP) では動作していますが、3 つのファイルすべてを Web にアップロードすると、次のようになります。
- アプリ/コード/ローカル/Lorinc/cmsLayout/etc/config.xml
- app/design/frontend/sportsfans01/default/template/page/cmsLayout.phtml
- app/etc/modules/Lorinc_cmsLayout.xml
そして、それはそこで機能していません。config.xmlのコードは次のとおりです。
<?xml version="1.0"?>
<config>
<modules>
<Lorinc_cmsLayout>
<version>0.1.0</version>
</Lorinc_cmsLayout>
</modules>
<global>
<page>
<layouts>
<cmsLayout translate="label">
<label>cmsLayout</label>
<template>page/cmsLayout.phtml</template>
<layout_handle>cmsLayout</layout_handle>
</cmsLayout>
<!-- add more layouts here -->
</layouts>
</page>
</global>
</config>
そして、ここにLorinc_cmsLayout.xmlがあります
<?xml version="1.0"?>
<config>
<modules>
<Lorinc_cmsLayout>
<active>true</active>
<codePool>local</codePool>
<depends>
<Mage_Page />
</depends>
</Lorinc_cmsLayout>
</modules>
</config>
私はすべてを試しました。ファイルとフォルダーのアクセス許可 (ファイル 0644、フォルダー 0755) を変更しました。何が間違っているのでしょうか?