For a couple of unimportant reasons I decided that I wanted to edit the npl opac and intranet search templates to display items.itemcallnumber as the call number rather than biblioitems.classification like it does by default. I don't know anything about html templating, but I imagined that this would be a pretty simple change to make. I went into /usr/local/koha/intranet/htdocs/intranet-tmpl/npl/en/search.marc/result.tmpl and replaced every instance of "classification" with "itemcallnumber" . This results in itemcallnumber displaying in parentheses after the branch name in the location column (ie "MAIN(530.076)"), but the call number column, which used to display biblioitems.classification now displays nothing. Maybe I'm not understanding how the TMPL_VAR commands work, but it seems to me that, later in the file, where it is describing the location column that TMPL_VAR NAME="itemcallnumber" refers to my call number, but that when I try to use it earlier it is empty, or pointing to nothing, or something. On the other hand, replacing "classification" with "itemcallnumber" in /usr/local/koha/opac/htdocs/opac-tmpl/npl/en/opac-detail.tmpl works fine, and results in the opac detail page displaying my call numbers properly. Both my opac and my intranet are set to display with the NPL templates, and this works just fine in all other respects. thanks, Will
participants (1)
-
William Macfarlane