pkaresz11 Posted January 7, 2017 Posted January 7, 2017 Hi, i installed Prestashop 1.6.1.10. How can I remove "Demo mode" and "Troubleshooting button" from admin dashboard? Thanks for your help. Share this post Link to post Share on other sites More sharing options...
bellini13 Posted January 8, 2017 Posted January 8, 2017 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 1 Share this post Link to post Share on other sites More sharing options...
pkaresz11 Posted January 8, 2017 Posted January 8, 2017 Thanks!It's work! i mean "Troubleshooting"-->"Help" button (" ? ") sorry Share this post Link to post Share on other sites More sharing options...
Paul Buisson Posted November 12, 2021 Posted November 12, 2021 @bellini13 's method for omitting the demo button still works in 2021 in ver. 1.7.8.0 1 Share this post Link to post Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now