From: Don G. <dg...@bu...> - 2010-07-28 18:25:33
|
We are trying to move our customization to version 1.0 but are having a problem. If there is no item record then nothing displays for holdings in the single record view. I was able to fix this in the previous version by using the code below. However this no longer works, any ideas how to get the code to work or fix the problem? {if $holdings == ""} {assign var=marcField2 value=$marc->getFields('852')} {if $marcField2} {foreach from=$marcField2 item=field name=loop} {$field|getvalue:'4'|escape} {$field|getvalue:'5'|escape} {$field|getvalue:'k'|escape} {$field|getvalue:'h'|escape} {$field|getvalue:'i'|escape}{$field|getvalue:'a'|escape}<br/> <br/> {/foreach} {/if} Don Gramlich Phone: (716) 645-3961 E-mail: dg...@bu... |