Jump to content

Unable to override AdminController


erikvlugt

Recommended Posts

Hi,

 

I am trying to hide the 'help' button on the dashboard by override. But the override is not being used. So i was wondering what am i doing wrong/ Why is the override not used?

 

I found it in AdminController.php (classes/controller/AdminController.php). After i created the file override/classes/controller/AdminController.php

 

Could not get the override to work so i started to check if it was taken in account anyway by:

 

<?php
class AdminControllerCoreOverride extends AdminControllerCore
{
echo 'askdjfkdjfksl';
}
?>
 

But nothing happends. I deleted in cache: index_cache and the override is not turned off in preformance menu. In the index_cache.php i found the AdminController but override was false.

 

I am trying to figure out how the override works, after allot of googling i still cant find out...

 

Please can someone help me out?

 

ps using prestashop 1.6

Edited by erikvlugt (see edit history)
Link to comment
Share on other sites

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...