Jump to content

Remove "Demo mode" and "Troubleshooting button" from admin dashboard


pkaresz11

Recommended Posts

To remove Demo mode:

Edit /controllers/admin/AdminDashboardController.php

 

Locate and remove this code

        $this->page_header_toolbar_btn['switch_demo'] = array(
            'desc' => $this->l('Demo mode', null, null, false),
            'icon' => 'process-icon-toggle-'.(Configuration::get('PS_DASHBOARD_SIMULATION') ? 'on' : 'off'),
            'help' => $this->l('This mode displays sample data so you can try your dashboard without real numbers.', null, null, false)
        );

Note: The better option would be to create an override of the above controller

 

 

I don't see a troubleshooting button

 

 

 

 

  • Thanks 1
Link to comment
Share on other sites

  • 4 years later...
  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...