GetSimple Support Forum

Full Version: Status Messages Plugin
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
This plugin can be used to display status messages (update, error) in back-end plugin pages. It is almost trivial, since it is already described here. However, I happen to use it a lot for different plugins, that's why I made it into a separate plugin. Maybe somebody else finds it useful too.

Download the plugin here, unzip and copy its contents to your plugins folder.

This plugin contains just one function which should only be used in the admin (back-end) section of GS. Call using

display_message($msg, $success)

Explanation of parameters:
  • $msg (string) - The message to print.
  • $success (bool) - If TRUE, display $msg as update message, else as error message.

That's it, cheers,