I'm trying to create a new page template with Prestashop 1.7, and i understood i had to use a module for that.
i followed this tutorial : http://nemops.com/creating-new-pages-in-prestashop/#.WnrWa5OdVGy
Unfortunately, when i want to view the module i created using https://example.com/index.php?fc=module&module=aktest&controller=testindex i get a 404 page ...
Module (modules/aktest/aktest.php)
<?php
if (!defined('_PS_VERSION_'))
exit;
class Aktest extends Module
{
public function __construct()
{
$this->name = 'aktest';
$this->tab = 'front_office_features';
$this->version = '1.0.0';
$this->author = 'Me and nobody else';
$this->need_instance = 0;
$this->ps_versions_compliancy = array('min' => '1.6', 'max' => _PS_VERSION_);
$this->bootstrap = true;
parent::__construct();
$this->displayName = $this->l('My Module Name');
$this->description = $this->l('My Module Description.');
$this->confirmUninstall = $this->l('Uninstall?');
}
}
Controller (modules/aktest/controllers/front/testindex.php) - blank for now
<?php
class AktestTestindexModuleFrontController extends ModuleFrontController{
public function init(){
parent::init();
}
public function initContent() {
parent::initContent();
}
}