[OPEN-ILS-GENERAL] Problem with 505 MARC code

Dan Scott dan at coffeecode.net
Fri Nov 12 03:51:04 EST 2010


On Fri, Nov 12, 2010 at 11:54:10AM +0400, Dimitri Gogelia wrote:
> Hi Everyone!
> 
> I have a Problem with Marc Code 505. When I enter data into this field, the
> data is not displayed in OPAC.
> 
> Problem is, versions 1.4 and 1.6
> 
> How do we solve this problemm?

In 1.6, your best option is to use BibTemplate to build a customized
display; see
http://evergreen-ils.org/dokuwiki/doku.php?id=opac:bibtemplate (where
Mike Rylander wrote up some excellent documentation) and 
http://coffeecode.net/archives/221-Building-more-informative-record-displays-in-Evergreen-with-BibTemplate.html
for a presentation I gave at the Evergreen 2010 conference and a link to
the customized display that we're using at our university now.

Or if that's too much, in 1.6 you can just try adding the following to your
rdetail_summary.xml file:

        <tr class='hide_me' id='tag505'>
            <td nowrap='nowrap' class='rdetail_desc'>Table of contents</td>
            <td type='opac/slot-data' query='datafield[tag=505]' class='rdetail_item'>
                <script type='opac/slot-format'><![CDATA[
                dojo.query('#tag505').removeClass('hide_me');
                return '<span>' + dojox.data.dom.textContent(item) + '</span><br/>';
                ]]></script>
            </td>
        </tr>



More information about the Open-ils-general mailing list