[kronolith] Kronolith 1.0 - horde messages do not show

Jan Schneider jan@horde.org
Tue, 25 Jun 2002 17:40:57 +0200


Zitat von Viljo Viitanen <vviitane+mail.kronolith@mappi.helsinki.fi>:

> I created an semi-nasty hack to force messages on users ("we're going
> down in 5 
> minutes, please go away") with Horde::raiseMessage if a certain file
> exists, 
> but Kronolith doesn't show them - there isn't any code for that at all 
> (status.php in horde, turba and imp).
> 
> An easy one-line fix is to include ../status.php in kronolith's
> status.php. A 
> proper fix would probably be just to copypaste the code...
> 
> Oh, and I'm using (almost) stock Horde 2.1, Imp 3.1, Turba 1.1 and
> Kronolith 
> 1.0 tarballs.

Kronolith already uses the new notification system. You can raise message with:
$notification->push('Your message here', 'horde.warning')
or horde.error etc.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft