<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>AW: [Koha] koha notices PREDUE and PREDUEDGST</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Hi Chris,<BR>
<BR>
I am not sure if the <item> syntax is available in PREDUE and PREDUEDGST notices, but I also spot a error in your pasted template. In order for it to work you need a closing </item> at the end.<BR>
<BR>
<item>"<<biblio.title>>" by <<biblio.author>>, <<items.itemcallnumber>>, Barcode: <<items.barcode>></item><BR>
<BR>
Also make sure all item fields are on one line, with no line breaks.<BR>
<BR>
Safest bet is using <<items.content>>. It's the older syntax and should work. I know for sure it does in 3.2.x.<BR>
<BR>
Hope that helps,<BR>
<BR>
Katrin<BR>
<BR>
-----Ursprüngliche Nachricht-----<BR>
Von: koha-bounces@lists.katipo.co.nz im Auftrag von Chris Meech<BR>
Gesendet: Mo 23.01.2012 21:10<BR>
An: koha@lists.katipo.co.nz<BR>
Betreff: [Koha] koha notices PREDUE and PREDUEDGST<BR>
<BR>
Hi,<BR>
Our circulation notices PREDUE Advance Notice of Item Due and PREDUEDGST Advance Notice of Item Due (Digest) are not working properly. They email out to the correct address and with the correct patron name but they do not complete other variable fields.<BR>
<BR>
Other notices work fine. In fact the PREDUE and PREDUEDGST have some of the same code as our ODUE notice that works.<BR>
<BR>
Does anyone have any suggestions why this might be the case?<BR>
<BR>
Below is an example of the partially complete email received by a patron.<BR>
<BR>
<BR>
<BR>
Dear Christopher MEECH<BR>
<BR>
<BR>
<BR>
According to our current records, you have item/s that will be due soon.<BR>
<BR>
<BR>
<BR>
If you wish to renew them please contact the following branch.<BR>
<BR>
<BR>
<BR>
<<branches.branchname>><BR>
<BR>
<<branches.branchaddress1>><BR>
<BR>
<<branches.branchaddress2>> <<branches.branchaddress3>><BR>
<BR>
Phone: <<branches.branchphone>><BR>
<BR>
Email: <<branches.branchemail>><BR>
<BR>
<BR>
<BR>
The following item(s) is/are:-<BR>
<BR>
<BR>
<BR>
<item>"<<biblio.title>>" by <<biblio.author>>, <<items.itemcallnumber>>, Barcode: <<items.barcode>><BR>
<BR>
<BR>
<BR>
You may renew online if you have registered a password with the library, and a renewal is available.<BR>
<BR>
<BR>
<BR>
Thank you for visiting <<branches.branchname>> Library<BR>
<BR>
Thanks for your help<BR>
Chris<BR>
<BR>
Koha version: 3.04.04.000<BR>
<BR>
Christopher Meech<BR>
<BR>
Reference Librarian<BR>
Waitaki District Libraries<BR>
P.O. Box 134,Oamaru 9444<BR>
62 Thames St, Oamaru 9400<BR>
<BR>
cmeech@waitaki.govt.nz<BR>
03 433 0850<BR>
<BR>
<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>