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

Share this post


Link to post
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...

Important Information

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