title: Add a second field category Prestashop 1.7
body: <p>I am trying to add a editable field for Category in Prestashop 1.7</p>
  
  <p>I'm already do this :</p>
  
  <p>Insert text_SEO in Database</p>
  
  <p><strong>override/classes/Category.php</strong></p>
  
  <pre><code>&lt;?php
  class Category extends CategoryCore
  {
  
  public $text_SEO; // My Custom field
  
  public static $definition = array(
      'table' =&gt; 'category',
      'primary' =&gt; 'id_category',
      'multilang' =&gt; true,
      'multilang_shop' =&gt; true,
      'fields' =&gt; array(
          'nleft' =&gt; array('type' =&gt; self::TYPE_INT, 'validate' =&gt; 'isUnsignedInt'),
          'nright' =&gt; array('type' =&gt; self::TYPE_INT, 'validate' =&gt; 'isUnsignedInt'),
          'level_depth' =&gt; array('type' =&gt; self::TYPE_INT, 'validate' =&gt; 'isUnsignedInt'),
          'active' =&gt; array('type' =&gt; self::TYPE_BOOL, 'validate' =&gt; 'isBool', 'required' =&gt; true),
          'id_parent' =&gt; array('type' =&gt; self::TYPE_INT, 'validate' =&gt; 'isUnsignedInt'),
          'id_shop_default' =&gt; array('type' =&gt; self::TYPE_INT, 'validate' =&gt; 'isUnsignedId'),
          'is_root_category' =&gt; array('type' =&gt; self::TYPE_BOOL, 'validate' =&gt; 'isBool'),
          'position' =&gt; array('type' =&gt; self::TYPE_INT),
          'date_add' =&gt; array('type' =&gt; self::TYPE_DATE, 'validate' =&gt; 'isDate'),
          'date_upd' =&gt; array('type' =&gt; self::TYPE_DATE, 'validate' =&gt; 'isDate'),
  
          // Lang fields
          'name' =&gt; array('type' =&gt; self::TYPE_STRING, 'lang' =&gt; true, 'validate' =&gt; 'isCatalogName', 'required' =&gt; true, 'size' =&gt; 64),
          'link_rewrite' =&gt; array('type' =&gt; self::TYPE_STRING, 'lang' =&gt; true, 'validate' =&gt; 'isLinkRewrite', 'required' =&gt; true, 'size' =&gt; 64),
          'description' =&gt; array('type' =&gt; self::TYPE_HTML, 'lang' =&gt; true, 'validate' =&gt; 'isString'),
          'text_SEO' =&gt; array('type' =&gt; self::TYPE_HTML, 'lang' =&gt; true, 'validate' =&gt; 'isString'),
          'meta_title' =&gt; array('type' =&gt; self::TYPE_STRING, 'lang' =&gt; true, 'validate' =&gt; 'isGenericName', 'size' =&gt; 128),
          'meta_description' =&gt; array('type' =&gt; self::TYPE_STRING, 'lang' =&gt; true, 'validate' =&gt; 'isGenericName', 'size' =&gt; 255),
          'meta_keywords' =&gt; array('type' =&gt; self::TYPE_STRING, 'lang' =&gt; true, 'validate' =&gt; 'isGenericName', 'size' =&gt; 255),
      ),
  );
  }
  </code></pre>
  
  <p><strong>override/controllers/admin/AdminCategoriesController.php</strong></p>
  
  <pre><code>    class AdminCategoriesController extends AdminCategoriesControllerCore
  {
      public function renderForm()
      {
          $this-&gt;fields_form_override =array(
              array(
                  'type' =&gt; 'textarea',
                  'label' =&gt; $this-&gt;l('Text SEO'),
                  'name' =&gt; 'text_SEO',
                  'lang' =&gt; true,
                  'autoload_rte' =&gt; true,
                  'hint' =&gt; $this-&gt;l('Invalid characters:').' &lt;&gt;;=#{}',
              ),
          );
          return parent::renderForm();
      }
  }
  </code></pre>
  
  <p>How can I display the areatext ?</p>
  
  <p>Thank you ! :D</p>