[Evergreen-catalogers] 700s under 600s

Yamil Suarez ysuarez at berklee.edu
Wed May 11 15:34:23 EDT 2016


First of all for Susan and others here, this situation reminds me that I
have wanted to have the community consider changing the default behavior of
EG so that 7xx author data is not displayed by default right below the
title in the OPAC record view. My reason is that our library has many
records that would end up with very long lists of 7xx fields showing up
right below the title. Therefore a OPAC customization I always use is to
display the 7xx author data lower down the record page in the OPAC. Just
wondering what other's think.

Susan, I believe that Kathy's approach will remove the listing of authors
(both 1xx and 7xx authors) from below the title and list them next to the
subjects. This might work fine for you, though it would mean that no
authors are listed right below the title.

A variation on Kathy's approach would be two create a copy of the
"author.tt2" file with a different name, like "authors_1xx.tt2" with the
changes I recommended earlier (that remove the 7xx data). Then rename the
entry that says  [%- INCLUDE "opac/parts/record/authors.tt2" %] near the
top of the summary file to point to [%- INCLUDE
"opac/parts/record/authors_1xx.tt2" %] so that your 1xx data still shows up
right below the title.

Then just like Kathy said add [%- INCLUDE "opac/parts/record/authors.tt2"
%] further below the summary.tt2 file below the [%- INCLUDE
"opac/parts/record/subjects.tt2" %]

That way 1xx author data shows up right below the title, but the 1xx & 7xx
author data will show up near the subjects. Though you might need to
customize authors.tt2 a bit to add a visible label that says something like
"Authors: " before the list of authors is displayed.

For example in authors.tt2 look for the line...

<div class='rdetail_authors_div'>

and add a label to it like this...

<div class='rdetail_authors_div'>Authors:

On my catalog I did something similar to the above, but I  believe I copied
and renamed "awards.tt2" file to "contributors.tt2" solely display my 7xx
authors data in one of the "collapsible" sections near the bottom. To do
that I had to add one line to "extras.tt2" which controls the order of the
"collapsible" sections at the bottom, among other things.

Susan, I hope this helps a bit. Since we are getting pretty technical in
terms of customizing the OPAC we might want to move the discussion to the
general or the technical list. We can also continue on the IRC channel.

Also, Kathy or others please correct me if I have made any mistakes.

Good luck,
Yamil










--------------------------------

Yamil Suarez, MCS
Library Systems Administrator/Developer

Stan Getz Library
Berklee College of Music
1140 Boylston St
Boston, MA 02215

ysuarez at berklee.edu
617-747-2617

On Wed, May 11, 2016 at 12:17 PM, Oxford, Susan <soxford at ucn.ca> wrote:

> Hello,
>
>
>
> Would these solutions list the 700s under the 600s in the OPAC?
>
>
>
> Thank you,
>
>
>
> Susan
>
>
>
> *Susan Oxford, MLIS*
>
> *Campus Librarian, Thompson*
>
> *University College of the North*
>
> *204-677-6408 <204-677-6408>*
>
>
>
> *From:* Evergreen-catalogers [mailto:
> evergreen-catalogers-bounces at list.evergreen-ils.org] *On Behalf Of *Yamil
> Suarez
> *Sent:* May-11-16 11:11 AM
> *To:* Evergreen Community Catalogers
> *Subject:* Re: [Evergreen-catalogers] 700s under 600s
>
>
>
> Susan,
>
>
>
> To remove the 7xx from the title I customize the
> templates/opac/parts/record/authors.tt2 file[1]
>
>
>
> There is a section that looks like this that I then shorten....
>
>
>
> authors = [
>
>     {
>
>         type => 'author',
>
>         label => l('Author'),
>
>         xpath => '//*[@tag="100"]|//*[@tag="110"]|//*[@tag="111"]'
>
>     }, {
>
>         type => 'added',
>
>         label => l('Added Author'),
>
>         xpath => '//*[@tag="700"]|//*[@tag="710"]|//*[@tag="711"]'
>
>     }, {
>
>         type => 'cast',
>
>         label => l('Cast'),
>
>         xpath => '//*[@tag="508"]'
>
>     }, {
>
>         type => 'notes',
>
>         label => l('Author Notes: '),
>
>         xpath => '' # Comes from added content...
>
>     }
>
> ];
>
>
>
>
>
> Which I then shorten to this....
>
>
>
> authors = [
>
>     {
>
>         type => 'author',
>
>         label => l('Author'),
>
>         xpath => '//*[@tag="100"]|//*[@tag="110"]|//*[@tag="111"]'
>
>     }, {
>
>         type => 'notes',
>
>         label => l('Author Notes: '),
>
>         xpath => '' # Comes from added content...
>
>     }
>
> ];
>
>
>
> You can see in the code where it tries to grab 700 and 710 tags.
>
>
>
>
>
> [1] For the record, the recommended practice is not to edit the
> authors.tt2 file in place. You should create a new folder with the
> templates you want to override in a new folder, but with the same path. My
> path ends up being something like
> templates_berklee/opac/parts/record/authors.tt2
>
>
>
> Kathy's link explains this approach of creating a new folder for the
> templates you want to override, but you can follow up with me, the general
> or technology list .
>
>
>
>
> http://docs.evergreen-ils.org/2.10/_designing_your_catalog.html#_configuring_and_customizing_the_public_interface
>
>
>
>
> Good luck,
>
> Yamil
>
>
>
>
>
>
>
> --------------------------------
>
> Yamil Suarez, MCS
> Library Systems Administrator/Developer
>
> Stan Getz Library
> Berklee College of Music
> 1140 Boylston St
> Boston, MA 02215
>
> ysuarez at berklee.edu
> 617-747-2617
>
>
>
> On Wed, May 11, 2016 at 11:59 AM, Kathy Lussier <klussier at masslnc.org>
> wrote:
>
> Hi Susan!
>
> I don't know if you have access to edit your Template Toolkit files, but
> you could make this change by editing the file in parts/record/summary.tt2.
> There is a bit at towards the top of the file that looks like:
>
>   [%- INCLUDE "opac/parts/record/authors.tt2" %]
>
> which is what places those entries under the title.
>
> The bit towards the bottom that says:
>
> [%- INCLUDE "opac/parts/record/subjects.tt2" %]
>
> is what controls where the 600 fields display.
>
> You
>
> There is more information on making catalog customizations available at
> http://docs.evergreen-ils.org/2.10/_designing_your_catalog.html#_configuring_and_customizing_the_public_interface
>
> I hope this helps!
> Kathy
>
>
>
> On 05/11/2016 11:33 AM, Oxford, Susan wrote:
>
>
>
> Hello,
>
>
>
> I don’t know if this has ever been addressed or not but:
>
>
>
>                How do we get the 700 fields to show in the OPAC listed
> under the 600 fields instead of under the title at the top?
>
>
>
> Thank you,
>
>
>
> Susan Oxford
>
>
>
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
>
> Evergreen-catalogers mailing list
>
> Evergreen-catalogers at list.evergreen-ils.org
>
> http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/evergreen-catalogers
>
>
>
> --
>
> Kathy Lussier
>
> Project Coordinator
>
> Massachusetts Library Network Cooperative
>
> (508) 343-0128
>
> klussier at masslnc.org
>
> Twitter: http://www.twitter.com/kmlussier
>
>
> _______________________________________________
> Evergreen-catalogers mailing list
> Evergreen-catalogers at list.evergreen-ils.org
> http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/evergreen-catalogers
>
>
>
> _______________________________________________
> Evergreen-catalogers mailing list
> Evergreen-catalogers at list.evergreen-ils.org
> http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/evergreen-catalogers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.evergreen-ils.org/pipermail/evergreen-catalogers/attachments/20160511/6fdd7174/attachment-0001.html>


More information about the Evergreen-catalogers mailing list