[Koha-bugs] [Bug 11904] Proposal for a uniform way to send messages to user interface

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 6 19:33:07 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11904

--- Comment #1 from Julian Maurice <julian.maurice at biblibre.com> ---
Created attachment 25910
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=25910&action=edit
Bug 11904: New module Koha::Messages

This patch provides a uniform way to send messages to user interface.
It uses CGI::Session to store messages and allow to render them thanks
to a Template::Toolkit plugin (Koha::Template::Plugin::Messages)
and a template include file (messages.inc)

This patch doesn't introduce the new template include file anywhere. It
will require additional patches to make it work.

To use it, simply call messages_set() in a Perl script or module, then
put [% INCLUDE 'messages.inc' %] at the right place in the right
template file.

See POD documentation of Koha::Messages for more information.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list