0
私は初心者です。私はフロントオフィスコントローラを作成する方法を学んでいます。私は次のコードを書いたが、ページをロードするときに何も表示しない。私はまだ私のモジュールコードでそれへの参照を与えていない。私はどのように進めるべきですか?基本的なフロントオフィスコントローラのプレスタシップの作成1.7
<?php
if (!defined('_PS_VERSION_')) {
exit;
}
class AbcMyPageModuleFrontController extends ModuleFrontController
{
public function initContent()
{
parent::initContent();
$this->setTemplate('module:abc/views/templates/front/myFirst.tpl');
}
}