Prestashop覆盖管理模板


Prestashop override admin template

我有代码(用于prestashop 1.5):

class AdminTestController extends AdminController
{
    public $identifier = 'id_test';
    function __construct() {
        parent::__construct();
        $this->table = 'test';
        $this->className = 'test';
        /*$this->fields_list = array(
        'id_test' => array('title' => $this->l('ID'), 'align' => 'center', 'width' => 25),
        'content' => array('title' => $this->l('Test'), 'width' => 'auto')
        );*/
        $this->fields_options = array(
                    'general' => array(
                    'title' =>  $this->l(''),
                    'icon' =>   'tab-preferences',
                    'fields' => array(
                            'TEST' =>  array(
                            'type' => 'textarea',
                            'label' => $this->l('TEST'),
                            'title' => $this->l('TEST'),
                            'name' => 'test',
                            'autoload_rte' => true,
                            'lang' => true,
                            'rows' => 15,
                            'cols' => 70,
                            //'hint' => $this->l('Invalid    characters:').' <>;=#{}'
                            )
                    ),
                    'submit' => array(
                                'title' => $this->l('Save'),
                                'class' => 'button'
                            )       
                    )
                );
    }
}

我想把tinyMCE附加到我的文本区域。我需要覆盖一个模板,但找不到哪个模板。

我试过了:

template/controllers/test/list/list.tpl
template/controllers/test/form.form.tpl

如何覆盖控制器的模板?

仅供参考。我覆盖选项/option.tpl;现在它起作用了。