Hello!
I have the same problem. I'm still a beginner. I use Prestashop 1.5.6.2 Here is my code in .php the file: controllers/front/mapage.php :
<?php class newmoduledisplayModuleFrontController extends ModuleFrontController { public function initContent() { parent::initContent(); $this->setTemplate('mapage.tpl'); } }
And in the .tpl file : views/templates/front/mapage.tpl :
<h1>Hello World</h1>
I created a module and it worked. After I created one with another name, and another class, but it displays a blank page.
I need help please! Thanks