Необходимо перенести поле в Админке из закладки
Основные в
Описание. Пишу так:
class Shop_Controller_Edit_Observer
{
static public function onAfterRedeclaredPrepareForm($controller, $args)
{
list($object, $Admin_Form_Controller) = $args;
switch (get_class($controller))
{
case 'Shop_Item_Controller_Edit':
$oMainTab = $controller->getTab('main');
$oContentTab = $controller->getTab('Description');
$oContentTab->add($oDescriptionRow1 = Admin_Form_Entity::factory('Div')->class('row'));
$controller->getField('goods')
->wysiwyg(TRUE)
->rows(7);
$oMainTab->move($controller->getField('goods'), $oDescriptionRow1);
break;
}
}
}
Выдает ошибку
Tab Description does not exist.
36 modules/core/exception.php
297 modules/admin/form/action/controller/type/edit.php
14 modules/shop/controller/edit/observer.php
107 modules/core/event.php
356 modules/admin/form/action/controller/type/edit.php
934 modules/shop/item/controller/edit.php
993 modules/admin/form/controller.php
842 admin/shop/item/index.php
Как называется закладка
Описание в Группе товаров ИМ?