Levani,

The best guidance for adding new fields is found on the Wiki here:
http://www.open-ils.org/dokuwiki/doku.php?id=scratchpad:supercat_opac_example

I was experimenting with this on our test server today. Here are some other 
very simple examples.

Add Call Number (MARC tag 050):
<tr>
                <td nowrap='nowrap' class='rdetail_desc'>Call Number</td>
                <td type='opac/slot-data+marcxml' query='datafield[tag=050] 
subfield'  class='rdetail_item'>
                    <script type='opac/slot-format'>
                     return dojox.data.dom.textContent(item);
                    </script>
                </td>
            </tr>


Add statement of responsibility (MARC tag 245 subfield c) - this is useful if 
you want to place statement of responsibility in a separate field from title.

<tr>
                <td nowrap='nowrap' class='rdetail_desc'>Statement of 
Responsibility</td>
               <td type='opac/slot-data' query='datafield[tag=245] 
subfield[code=c]' class='rdetail_item'>
                    <script type='opac/slot-format'>
                    return dojox.data.dom.textContent(item);
                    </script>
                </td>
            </tr>


Regards,
Robert


________________________________________
From: [email protected] 
[[email protected]] On Behalf Of Levani EL 
[[email protected]]
Sent: February 10, 2010 5:11 PM
To: [email protected]
Subject: [OPEN-ILS-GENERAL] add marc field in opac

this is visible marc fields in opac how add new field?

Title
Author
ISBN
Edition
Publication Date
Publisher
Physical Description
Format
Abstract
Online Resources



This E-mail contains privileged and confidential information intended
only for the individual or entity named in the message.  If the reader
of this message is not the intended recipient, or the agent responsible
to deliver it to the intended recipient, you are hereby notified that
any review, dissemination, distribution or copying of this communication
is prohibited.  If this communication was received in error, please
notify the sender by reply E-mail immediately, and delete and destroy
the original message.

Reply via email to