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: enter image description here

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

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -