Jump to content

Problem with module template


Recommended Posts

Hi all! I create FrontController for loyalty module. I made it because want change url to index.php?controller=loyalty-program but module template does not want to appear! what could be the problem?

 

Thx all!

 

class LoyaltyProgramControllerCore extends FrontController
{
public $auth = true;
public $php_self = 'loyalty-program.php';
public $authRedirection = 'loyalty-program.php';
public $ssl = true;



/**
* Assign template vars related to page content
* @see FrontController::initContent()
*/
 public function displayContent()
 {
			   parent::displayContent();
			   self::$smarty->display(_PS_THEME_DIR_.'modules/loyalty/loyalty.tpl');
 }
}

Link to comment
Share on other sites

×
×
  • Create New...