hide left menu

Status: under development
Branch: https://gitlab.com/joomleague/joomleague/tree/3.0.0

Moderator: And_One

malekdz
Newbie
Posts: 12
Joined: Fri Feb 12, 2016 8:31 pm

hide left menu

Postby malekdz » Mon Feb 12, 2018 8:15 am

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 ?

malekdz
Newbie
Posts: 12
Joined: Fri Feb 12, 2016 8:31 pm

Re: hide left menu

Postby malekdz » Mon Feb 12, 2018 10:39 am

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.


Return to “3.0.22.57ae969-Blue (Joomla: 3.x)”

Who is online

Users browsing this forum: No registered users and 0 guests