Refresh Admin Button for HEAD
Michael Cochrane
mike@graftonhall.co.nz
Fri, 11 Jan 2002 12:21:25 +0000
Ok first cut at trying to get this sorted. It works fine fine for me:
http://www.graftonhall.co.nz/mikes/Horde%20Diffs/Refresh%20Horde%20Menu/Head/
After alot of playing around dodging session_destroys and allowing for all the
redirections I think i got most situations sorted. The only other code i could
think of that may use this stack is the imp new message popup and alarm popups
in kronolith.
Mike
Quoting Jan Schneider <jan@horde.org>:
> Why not. It's easy to write a driver that just echoes the plain message
> text. All we have to take care of is that this message stack gets displayed
>
> at the end of each page. Perhaps common_footer.inc is a good place for this
>
> task.
>
> Zitat von Michael Cochrane <mike@graftonhall.co.nz>:
>
> > Pretty Nifty :-) Just a though but do you think we could make use of this
> > to
> > push javascript to the browser after a login?
> >
> > Thoughts:
> > After the login a 'message' (javascript to refresh bottom frame) is
> > pushed onto
> > a global message stack
> > the first app to call the notify sends it to the browser to cause the
> > menu frame
> > to refresh.
> >
> > This could also allow for other post login messages to be displayed such
> > as
> > making the last login message a horde wide thing so the first app to be
> > visited
> > shows the last login message that was added to the stack when the login
> > was
> > successful.
> >
> > Yes? No? Patch?
> >
> > Mike
> >
> > Quoting Jan Schneider <jan@horde.org>:
> >
> > > Zitat von Jan Schneider <jan@ammma.de>:
> > >
> > > > Beginning of a notification framework that supports multiple
> > > > notification
> > > > targets. Currently there's only the 'status' target that actually
> > > > does
> > > > what the status.php files do.
> > > > You can push messages on any target's message stack and these
> > targets
> > > > can
> > > > do whatever they are intended to do with these messages. I think
> > of
> > > > email
> > > > or pager notification for example.
> > > > I chose Kronolith as the first application to test this on because
> > it
> > > > has
> > > > some special message types and shows how this framework can be
> > extended
> > > > by
> > > > an application.
> > >
> > > What I forgot to mention: The message stacks get stored in the session
> > so
> > > that message aren't lost if you get to another page before the message
> > gets
> > >
> > > displayed.
> > >
> > > Jan.
> > >
> > > --
> > > ::::::::::::::::::::::::::::::::::::::::
> > > AMMMa AG - discover your knowledge
> > > :::::::::::::::::::::::::::
> > > Detmolder Str. 25-33 :: D-33604 Bielefeld
> > > fon +49.521.96878-0 :: fax +49.521.96878-20
> > > http://www.ammma.de
> > > ::::::::::::::::::::::::::::::::::::::::::::::
> > >
> > > --
> > > Horde Developers mailing list: http://horde.org/
> > > Frequently Asked Questions: http://horde.org/faq/
> > > To unsubscribe, mail: dev-unsubscribe@lists.horde.org
> > >
> > >
> >
> >
> >
> > --
> > Horde Developers mailing list: http://horde.org/
> > Frequently Asked Questions: http://horde.org/faq/
> > To unsubscribe, mail: dev-unsubscribe@lists.horde.org
> >
> >
>
>
> Jan.
>
> --
> ::::::::::::::::::::::::::::::::::::::::
> AMMMa AG - discover your knowledge
> :::::::::::::::::::::::::::
> Detmolder Str. 25-33 :: D-33604 Bielefeld
> fon +49.521.96878-0 :: fax +49.521.96878-20
> http://www.ammma.de
> ::::::::::::::::::::::::::::::::::::::::::::::
>
> --
> Horde Developers mailing list: http://horde.org/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: dev-unsubscribe@lists.horde.org
>
>