Add a message after safe an article

by Lovntola   Last Updated January 11, 2019 08:10 AM

Based on this question:.

I want to add the return code as a message after save to see it was successful or not.
Can someone tell how I can do this?
Thank in advanced.

Tags : plugin articles

Answers 1

$this->app->enqueueMessage($message, $type);

Where $message is the message string and $type is an optional type (message, warning, error or notice; defaults to message).

January 11, 2019 08:07 AM

Related Questions

Add extra fields to article

Updated January 27, 2017 14:04 PM

Dynamic article filter

Updated January 22, 2018 12:10 PM

Plugin to group articles submitted by a user

Updated May 07, 2016 08:04 AM