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

python - Error: Unresolved reference 'selenium' What is the reason? -

ios - Pass NSDictionary from Javascript to Objective-c in JavascriptCore -

php - Need to store a large amount of data in session with CI 3 but on storing large data in session it is itself destorying automatically -