Jump to content

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


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

Share this post

Link to post
Share on other sites

  • 4 years 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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More