私はこのチュートリアルに従っています:http ://www.atwix.com/magento/add-category-attribute/ すべてがうまく機能しており、属性はカテゴリに追加されていますが、フィールドの下にWYSIWYGボタンがありません。WYSIWYGは、[システム]>[構成]>[コンテンツ管理]で有効になっています。
$this->startSetup();
$this->addAttribute('catalog_category', 'custom_att', array(
'group' => 'General',
'input' => 'textarea',
'type' => 'text',
'label' => 'My attribute',
'backend' => '',
'visible' => true,
'required' => false,
'wysiwyg_enabled' => true,
'visible_on_front' => true,
'is_html_allowed_on_front' => true,
'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_GLOBAL,
));
$this->endSetup();
何を試しても、WYSIWYGが属性に対して有効になっていません。誰か助けてもらえますか?または、これに対する回避策がありますか?
編集:私は他の投稿を検索しましたが、すべてこのコードはWYSIWYGを追加する必要があると言っています:
'wysiwyg_enabled' => true,
しかし、そうではありません。