Jump to content

How to display admin noticiation from custom module


Recommended Posts

Good day,

I want to display some custom information in my custom module. In _construct method I add

    public function __construct()
    {

        $this->checkForUpdates();
    }

And:

    public function checkForUpdates(){
        $this->adminDisplayWarning('Your message'); 
    }

In debug I don't see any error. but in admin panel I don't see this message. Above code I write for Prestashop 1.7. Where is the problem?

Kind regards

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