[OPEN-ILS-GENERAL] TPAC and Display of the Summaries & More...can you help?
McCanna, Terran
tmccanna at georgialibraries.org
Wed Aug 12 17:48:20 EDT 2015
Hmmph... yes, it looks like it's treating the content from each node the same regardless of which subfield it came from.
Because of that, if you removed line 6 from the summaryplus.tt2 files, it would remove all the line breaks and if there were multiple 520s it would run them all together.
Terran McCanna
PINES Program Manager
Georgia Public Library Service
1800 Century Place, Suite 150
Atlanta, GA 30345
404-235-7138
tmccanna at georgialibraries.org
----- Original Message -----
From: "Ben Shum" <bshum at biblio.org>
To: "Evergreen Discussion Group" <open-ils-general at list.georgialibraries.org>
Sent: Wednesday, August 12, 2015 4:56:53 PM
Subject: Re: [OPEN-ILS-GENERAL] TPAC and Display of the Summaries & More...can you help?
Well actually, I think this is an odd MARC issue, where the "Provided
by publisher" line is part of another subfield. 520c, in the case of
that record anyways.
That confuses me slightly cause of the following:
In summaryplus.tt2, the default seems to grab and create spans for
attrs.summaries (which whenever I see attrs, I go to check
misc_util.tt2 to see how it comes up with those attributes). But in
misc_util.tt2, the attrs.summaries seems to generate using only 520a
data. No mention of c. So something is roping in extra content
unexpectedly there.
Otherwise, I would expect that multiple 520 statements would result in
span content that is broken up into separate lines.
-- Ben
On Wed, Aug 12, 2015 at 4:28 PM, McCanna, Terran
<tmccanna at georgialibraries.org> wrote:
> Hi Tony,
>
> I believe you would want to look at
>
> 1) openils\var\templates\opac\parts\record\summaryplus.tt2
>
> and maybe
>
> 2) openils\var\templates\opac\css\style.css.tt2 (where it refers to .rdetail-extras-summary )
>
>
>
> I hope that helps!
>
>
>
> Terran McCanna
> PINES Program Manager
> Georgia Public Library Service
> 1800 Century Place, Suite 150
> Atlanta, GA 30345
> 404-235-7138
> tmccanna at georgialibraries.org
> ----- Original Message -----
> From: "Tony Bandy" <tonyb at ohionet.org>
> To: "Evergreen Discussion Group" <open-ils-general at list.georgialibraries.org>
> Sent: Wednesday, August 12, 2015 3:03:53 PM
> Subject: [OPEN-ILS-GENERAL] TPAC and Display of the Summaries & More...can you help?
>
> Hello everyone,
>
> I've been whacking away at this for a few days now and not having much luck....thought I would toss this out to the group in case you have solved this already.
>
> Upshot: We're running Evergreen 2.7.2 hosted and want to change/edit how the summary statement shows up on the TPAC.
>
> ---------------
>
> Try this search: http://blanchester.cool-cat.org/eg/opac/record/948395.
>
> Once the record appears on the screen, scroll down to the Summaries & More to expand the section.
>
> If I wanted to edit how this displays in the TPAC, for example removing the line break and pushing the "Provided by publisher" back up to the main paragraph, how would I do this?
>
> If it was just regular html code, it would be a simple matter of removing the line break. However, since the tpac is using *.tt2 files-which file builds these results?
>
> I thought it might be the extras.tt2 file, but after perusing that one for a while, I'm not seeing anything.
>
> ---------------
>
> I'm no expert, just trying to fix our TPAC, so if you can share any fixes, tips or tricks, I would really appreciate it!
>
> Thanks in advance for your thoughts....
>
> --Tony
>
>
> Tony Bandy
> tonyb at ohionet.org<mailto:tonyb at ohionet.org>
> OHIONET
> 1500 West Lane Ave.
> Columbus, OH 43221-3975
> 614-484-1074 (Direct)
> 614-486-2966 x19
>
--
Benjamin Shum
Evergreen Systems Manager
Bibliomation, Inc.
24 Wooster Ave.
Waterbury, CT 06708
203-577-4070, ext. 113
More information about the Open-ils-general
mailing list