prestashop1.5.3のモジュールを開発しています。モジュールのインストール中にカスタム管理タブを作成する必要があります。私はこのようにインストールします
public function install()
{
if( (parent::install() == false)||(!$this->_createTab()) )
return false;
return true;
}
そして、_createTabメソッドは次のとおりです。
private function _createTab()
{
$tab = new Tab();
$tab->id_parent = 7; // Modules tab
$tab->class_name='AdminWarranty';
$tab->module='fruitwarranty';
$tab->name[(int)(Configuration::get('PS_LANG_DEFAULT'))] = $this->l('Warranty');
$tab->active=1;
if(!$tab->save()) return false;
return true;
}
そして何も起こりません..私は何を間違っているのですか..そしてどこで良いprestashop開発者リファレンスを見つけるのですか?