モジュールを作成するために、magento のチュートリアルに従いました。第3部「第3部 ~Magentoコントローラー派遣編~」にて。モジュールを作る分には問題ないのですが、パート4でレイアウトに戸惑い、
そこにはmagentoでページテンプレートを作成する方法が書かれています。
app/design/frontend/base/default/layout/local.xml
私のテーマには既に local.xml ファイルがあります。だから私はどこにファイルを作成して行を追加できるのか混乱しました
<layout version="0.1.0">
<default>
<block type="page/html" name="root" output="toHtml" template="magentotutorial/helloworld/simple_page.phtml" />
</default>
</layout>
次の行が記述されている local.xml ファイルが既にあります。
left.permanent.callout
<reference name="right">
<action method="unsetChild"><name>right.permanent.callout</name></action>
<remove name="paypal.partner.right.logo"/>
</reference>
<reference name="root">
<remove name="global_messages" />
</reference>
<reference name="content">
<block type="core/template" name="alert_global_messages" template="core/messages.phtml" before="-" />
</reference>
<reference name="before_body_end">
<block type="core/template" name="jquery_noconflict" template="jquery/noconflict.phtml" before="-" />
</reference>
さて、どのように行を追加できますか
私のlocal.xmlファイルで。