PrestaShop/PrestaShop — pull request #933 by joseantgv (2013-11-06 08:29:12+00:00)
Title: Update FrontController.php

When you set hide_left_column or hide_right_column from a Module Controller:

class * extends ModuleFrontController
{
public function initContent()
{
$this->display_column_left = false;
$this->display_column_right = false;

parent::initcontent();

$this->setTemplate('*.tpl');
}
}

these values are not passed to smarty, so you don't know in a TPL if columns are hidden. These values should be set at initContent function.