A simple and easy to use, yet powerful blog for GetSimple. With this plugin, you can create blog posts, sort posts by category, view posts in monthly archives, plus much more.
A new common function will be created called display_message() that will handle displaying of success and error messages. This function will also prevent messages being displayed on the front end by first checking with is_frontend().
This new function will also be designed so that it makes use of GetSimple's built-in message display scripts so that all messages will have the same look/feel as messages displayed on any other pages.
This function will use the following format:
void display_message ( string $message [, string $type = 'info' [, bool $close = false ]] )
Parameters
-----------
- message
The message to be displayed
- type
The type of message to display. Can be one of: info, ok, warning, error.
- close
If set to true, the message will fade out after a delay.
If set to false, the message will remain, but a close button will appear to the right.
A new common function will be created called
display_message()
that will handle displaying of success and error messages. This function will also prevent messages being displayed on the front end by first checking withis_frontend()
.This new function will also be designed so that it makes use of GetSimple's built-in message display scripts so that all messages will have the same look/feel as messages displayed on any other pages.
This function will use the following format: