title: Custom page in Prestashop 1.6 without CMS
body: <p>I'm currently creating a customized page based on Bootstrap so I cannot pass through the CMS.</p>
  
  <p>I created a file <code>Mypage.php</code> that I put at the Prestahop root containing this code :</p>
  
  <pre><code>&lt;?php
      require(dirname(__FILE__).'/config/config.inc.php');
      ControllerFactory::getController('MypageController')-&gt;run();
  ?&gt;
  </code></pre>
  
  <p>Then I created a controller <code>MypageController.php</code> containing this code in override/controllers/front :</p>
  
  <pre><code>class MypageControllerCore extends FrontController
  {
      public $php_self = 'Mypage.php';
      public $ssl = true;
  
      public function preProcess()
      {
          parent::preProcess();
      }
  
      public function setMedia()
      {
          parent::setMedia();
          Tools::addCSS(_THEME_CSS_DIR_.'Mypage.css');
      }
  
      public function displayContent()
      {
          $_POST = array_merge($_POST, $_GET);
          parent::displayContent();
          self::$smarty-&gt;display(_PS_THEME_DIR_.'Mypage.tpl');
      }
  }
  </code></pre>
  
  <p>And finally I put a <code>Mypage.tpl</code> file in my theme directory with my HTML code.</p>
  
  <p>I naturally erased <code>cache/class_index.php</code> but I still get a 404 error. Any ideas?</p>