Altering system messages

Hello there, i am developing a plugin that sends messages to the user via system_message what a certain event and condition met, but i would like them to be more visible to the user so my question is, can i make those messages appear in the middle of the screen instead of at the right side?

  • System messages layout is defined in CSS in

    views/default/elements/layout.css.php
    views/default/elements/components.css.php

    (partly also customized for example in the Aalborg theme plugin in these files overriding the core CSS files).

    Search for the classes containing "elgg-message" and "elgg-state" in their names (there are several classes for different kind of messages). Best would be to customize the CSS in a plugin of your own and not alter the core files.

Beginning Developers

Beginning Developers

This space is for newcomers, who wish to build a new plugin or to customize an existing one to their liking