title: Display cms page in a module page
body: <p>I use a 3rd party module for the Customer Service of my website.
  In this module, there is a dedicate page to create a ticket.</p>
  
  <p>I try to add a cms page (already create in Pages of Prestashop) in the left of the form of this page.</p>
  
  <p>For that, I create a function in modules/{THEmodule}/controllers/front/function.php </p>
  
  <pre><code>  public function getFAQ($id_cms, $id_lang = null, $id_shop = null){
          if (is_null($id_lang)) {
              $id_lang = (int)Configuration::get('PS_LANG_DEFAULT');
          }
          if (is_null($id_shop)) {
              $id_shop = (int)Configuration::get('PS_SHOP_DEFAULT');
          }
  
  
          $sql = new DbFAQ();
          $sql-&gt;select('content');
          $sql-&gt;from('cms_lang');
          $sql-&gt;where('id_cms = .(int)$id_cms.' AND 'id_lang = .(int)$id_lang.' AND 'id_shop = .(int)$id_shop');
          return Db::getInstance()-&gt;executeS($sql);
      }
  </code></pre>
  
  <p>Then I call the function in .tpl</p>
  
  <pre><code>&lt;div id="support-getFAQ"&gt;
      {$getFAQ=12} {* 12 is the id of the cms page that I want display *}
  &lt;/div&gt;
  </code></pre>
  
  <p>But when I check the page, nothing is display, so I guess is not the good way.</p>
  
  <p>Could someone help me?</p>