title: Prestashop add css to a module
body: <p>I am creating a module in prestashop 1.4, say <code>blocktest</code></p>
  
  <p>modules/blocktest/blocktest.php:</p>
  
  <pre><code>...
  
  public function hookLeftColumn($params)
  {
      global $smarty;
      $smarty-&gt;assign(array(
          'test' =&gt; 'test'
      ));
      return $this-&gt;display(__FILE__, 'blocktest.tpl');
  }
  
  public function hookHeader()
  {
      Tools::addCSS($this-&gt;_path.'blocktest.css', 'all');
  }
  </code></pre>
  
  <p>modules/blocktest/blocktest.css:</p>
  
  <pre><code>* { background-color: red; }
  </code></pre>
  
  <p><hr><h3>Problem:</h3> My css is not included.</p>
  
  <hr>
  
  <h3>What i tried:</h3>
  
  <p>In <code>admin &gt; preferences &gt; performances &gt; smarty</code>, i have set cache to <code>no</code>, and force compile to <code>yes</code>. In <code>admin &gt; preferences &gt; performances &gt; smarty</code>, cache is set to <code>no</code>.</p>
  
  <p>Existing modules uses the same css inclusion : <code>Tools::addCSS($this-&gt;_path.'blocktest.css', 'all');</code>, but the css file is in <code>&lt;themeName&gt;/css/modules/&lt;moduleName&gt;/&lt;moduleName&gt;.css</code>. Which is wierd, because $this->_path points to the module folder : <code>modules/&lt;moduleName&gt;/</code>.</p>
  
  <p>But anyway, I tried to put my css file in  <code>&lt;themeName&gt;/css/modules/blocktest/blocktest.css</code>, that doesn't work. Maybe i am missing something</p>