Jump to content

Create page in prestashop


Recommended Posts

Hi all, 

in the previous version of prestashop 1.5 create a series of pages for a series of votes. When trying to pass this operational version 1.6 I am having a problem. 

In version 1.5 we created to create a page page.tpl, pageController.php as well and page.php in page.php had this to check if the attempting to enter was logged: 

 


if ($cookie->isLogged())

{

Controller::getController('ConcursosController')->run();

}

else

{

Controller::getController('IdentityController')->run();

}

?>


 

but now in the new version omitted the page.php and directly calls the controller. I tried doing the same on the controller and I failed to see if a kind soul shows me a cable :) 

Sorry for my English

Link to comment
Share on other sites

×
×
  • Create New...