title: Prestashop custom tab in Back Office
body: <p>I'm developing a module for prestashop 1.5.3. I need to create a custom admin tab during the module installation. I make the install like this</p>
  
  <pre><code>public function install()
  {
      if( (parent::install() == false)||(!$this-&gt;_createTab())  )
          return false;
      return true;
  }
  </code></pre>
  
  <p>And the _createTab method is:</p>
  
  <pre><code>private function _createTab()
  {
      $tab = new Tab();
      $tab-&gt;id_parent = 7; // Modules tab
      $tab-&gt;class_name='AdminWarranty';
      $tab-&gt;module='fruitwarranty';
      $tab-&gt;name[(int)(Configuration::get('PS_LANG_DEFAULT'))] = $this-&gt;l('Warranty');
      $tab-&gt;active=1;
          if(!$tab-&gt;save()) return false;
  return true;
  }
  </code></pre>
  
  <p>And nothing happens.. What am I doing wrong.. and where to find good prestashop developer reference.?</p>