Hello!

I've been searching for months for a way to display a certain message in a cool popup or even something that slides down from the top of the page. The message can be an announcement informing users of downtime or planned maintenance, even announce new features.

Does anyone know of a working module for such a thing?

Check out CNN's iReport site for what I mean:

http://www.ireport.com/

Thank you,

HS

Comments

DruKaz’s picture

I've also been trying to find this, but so far I haven't found a module to do this.

There is the popups api (http://drupal.org/project/popups) that could be used, but it's no longer maintained and users seem to be unable to have it popup on load.

So it seems the only way atm is to write a module from scratch.

DruKaz’s picture

I've found 2 modules that can be used for this:
the Announcements module to supply you with an announcements content-type with end-date
and the Better Messages module that shows system messages (drupal_set_message()) in a popup.

Then you'd only have to write a module that takes the announcements from the first module and prints them with drupal_set_message so the 2nd module can make a popup out of them.
If you don't want all the system messages to be shown in a popup, you'll have to make some small modifications to the 2nd module so it only does it for your custom msg-type.