Page 1 of 1

hide left menu

Posted: Mon Feb 12, 2018 8:15 am
by malekdz
Hello,
In controller.php (backend) there's this function :

Code: Select all

   public function display($cachable = false, $urlparams = false)
   {
      // display the left menu only if hidemainmenu is not true
      $hidemainmenu = $this->input->get('hidemainmenu',false);
      
      if (!$hidemainmenu) {
         $show_menu = true;
      } else {
         $show_menu = false;
      }


Well, any clue where to set $hidemainmenu to true ?

Re: hide left menu

Posted: Mon Feb 12, 2018 10:39 am
by malekdz
I found a way, noticed in matches view url parameter &hidemainmenu
I set it to 1 in my custom directlink to rounds view of a project in backend.
And that's what I was looking for, if it will help someone.