[Koha-devel] Returns messages

Owen Leonard oleonard at athenscounty.lib.oh.us
Mon Aug 4 13:21:07 CEST 2003


In the template for returns.pl, there's a loop to display error messages:

   <TMPL_LOOP Name="errmsgloop">
    <font color='red' size='+2'>
	<TMPL_IF Name="badbarcode">
	No Item with barcode: <TMPL_VAR Name="msg">
	</TMPL_IF>

...etc.  But there doesn't seem to be a way to hide it when the 'errmsgloop' 
loop is empty.  Adding this:

<TMPL_IF NAME="errmsgloop"></TMPL_IF>

around the loop doesn't hide it like I thought it would.  Is there a way to 
achieve this?

  -- Owen
----
Nelsonville Public Library
Koha 2.0.0-pre2-R2




More information about the Koha-devel mailing list