Jump to content

How To Use Default Tpl From Module


Lunatik

Recommended Posts

I have a module, the module has a controller.
I get a list of products on my page-controller and I want to display it with a category.tpl
 
 
public function initContent()
{
  $this->page_name = 'Novelty';
  parent::initContent();

  //$this->setTemplate('..\..\themes\default-bootstrap\category.tpl');
  //$this->setTemplate(_PS_THEME_DIR_.'category.tpl');

}

I use PrestaShop 1.6.1.0

 

sorry for my english. :)

Edited by Lunatik (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...