System Messages

October 4th, 2013

System MessagesWith the System Messages plugin you control how and where Joomla system messages are displayed.

To see it in action, goto the demo link and you’ll find a Message Demo section. You can select what kind of message, and enter the content of the message you want to display

How does it work?

After installing and enabling the plugin, go to the Basic options section. Here you choose which position on the screen you prefer for system messages to be displayed. Select Top, Center or Specify. When you select Specify, you enter the desired values for position and size in the Specify section. Adjusting size is also enabled for Center position.
If you want to keep your messages at the top on the same place, you can select to Dock the messages. This fixes their position on the screen.
The message can be set to Auto hide. If you want to automatically hide messages, select after how many seconds the messages must disappear. If you want to keep your messages open, set Auto hide messages to No. And if you want to use special effects on showing and hiding messages set Use effects to yes. Center messages fade-in/out and Top messages slide-in/out.

Usually a spot is reserved in the Joomla template for message display. When using the Joomla Messages plugin, this results in displaying the same messages twice. The plugin has a setting for removing messages automatically from your webpage. In Joomla 2.5 the plugin can access the message queue and clear it, preventing messages showing up twice. In Joomla 3.x, this is no longer possible. The plugin retrieves the same output as the messages in the webpage and replaces it with an empty string. Of course this isn’t the best way to go, but at least it works for now. Should you have any thoughts, solutions or better ideas to fix this, please share it on our forum.

Using your own styles

The plugin supports a simple styling system. All you have to do is upload your own style sheet into the plugin media folder. This is located in /media/cmessages/css/styles. In the plugin settings, your file should show up for selection so your own style sheet is used for displaying messages. You can use the default.css of the plugin as a template.

For advanced users; you can also select to render the output of the messages by Joomla, if you for example have a messages.php in the html folder of your template and would like to use that output.

Please let us know if you have any requests to make sure this plugin suits your needs!