Letters / alert system, continuing...
authortipaul <tipaul>
Thu, 4 Aug 2005 08:54:54 +0000 (08:54 +0000)
committertipaul <tipaul>
Thu, 4 Aug 2005 08:54:54 +0000 (08:54 +0000)
commitdf6c6bcada42a98a674df5aa2806122df15ce506
tree711557da4731edc221a6a22bdcd8774c7d148345
parentcb39259b1a93895683291263e5d02e2392e6e7a4
Letters / alert system, continuing...
* adding a package Letters.pm, that manages Letters & alerts.
* adding feature : it's now possible to define a "letter" for any subscription created. If a letter is defined, users in OPAC can put an alert on the subscription. When an issue is marked "arrived", all users in the alert will recieve a mail (as defined in the "letter"). This last part (= send the mail) is not yet developped. (Should be done this week)
* adding feature : it's now possible to "put to an alert" in OPAC, for any serial subscription. The alert is stored in a new table, called alert. An alert can be put only if the librarian has activated them in subscription (and they activate it just by choosing a "letter" to sent to borrowers on new issues)
* adding feature : librarian can see in borrower detail which alerts they have put, and a user can see in opac-detail which alert they have put too.
Note that the system should be generic enough to manage any type of alert.
I plan to extend it soon to virtual shelves : a borrower will be able to put an alert on a virtual shelf, to be warned when something is changed in the virtual shelf (mail being sent once a day by cron, or manually by the shelf owner. Anyway, a mail won't be sent on every change, users would be spammed by Koha ;-) )
13 files changed:
C4/Letters.pm [new file with mode: 0644]
admin/letter.pl
bull/subscription-add.pl
bull/subscription-detail.pl
koha-tmpl/intranet-tmpl/default/en/bull/subscription-add.tmpl
koha-tmpl/intranet-tmpl/default/en/bull/subscription-detail.tmpl
koha-tmpl/intranet-tmpl/default/en/members/moremember.tmpl
koha-tmpl/intranet-tmpl/default/en/parameters/letter.tmpl
koha-tmpl/opac-tmpl/css/en/opac-serial-issues.tmpl
koha-tmpl/opac-tmpl/css/en/opac-user.tmpl
members/moremember.pl
opac/opac-serial-issues.pl
opac/opac-user.pl