prestashop - Remove/hide category bar from custom page -
i have registered new controller in order display new page. works fine able hide left column calling:
public function init() { $this->page_name = 'my products'; $this->disableblocks(); parent::init(); } protected function disableblocks() { $this->display_column_left = false; }
in controller. although still have bar present:
how can hide current controller (only custom one)? of course prefered way using hooks or something, not override template in theme. there maybe other way define layout controller page.
directly backend. go on modules -> position , form: "blocktopmenu". hook "displaytop", go edit , select page in not want appear
Comments
Post a Comment