Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
magentoに新しいウィジェットインスタンスを追加する場合([管理]> [CMS]> [ウィジェットインスタンス])、そのレイアウトの更新を選択する必要があります。ブロック参照オプションには、ページ上部、ページ下部、左、右などのいくつかのデフォルト領域があります。この選択ボックスにカスタムの新しい領域を追加するにはどうすればよいですか。
Ok。答えが見つかりました。に移動しpage.xml、これを追加します
page.xml
<block type="core/text_list" name="custom_script" as="custom_script" translate="label"> <label>IMPORTANT TO HAVE THIS TAG</label> </block>
重要なタグは<label>です。これがないと、選択ボックスにその領域が表示されません。これについてはAnthonyNguyenに感謝します。
<label>