Hi,
I ask if someone knows how to enable/disable displaying left/right columns for a module using PHP.
In 1.5 & 1.6 Prestashop versions, I used the following PHP code for controller:
class MySearchModuleFrontController extends ModuleFrontController {
public $display_column_left = true; public $display_column_right = true; public function initContent()
{ $this->display_column_left = false; $this->display_column_right = false;
....
}
} But now, on PS 1.7, it does not work. I tried many approachs but without result.
Thanks for help
Best regards
Wissem