[OPEN-ILS-DEV] ***SPAM*** Re: ***SPAM*** Looking at BibTemplate

Jason Boyer jasonb at myjclibrary.org
Mon May 3 14:48:10 EDT 2010


I'm working on getting a VM setup at work so I can spend more time with it,
when I was having trouble getting results with other tags I was using my
home laptop with a version of trunk that's got some age on it. All I've
tried to do there was add fields to the record display, nothing terribly
fancy. That's working out ok, I just wanted to see if it was a local issue
(looks that way) or if I was misunderstanding the scope of BibTemplate's
abilities.

Word of someone working on a results page with call numbers is what has me
working on this in the first place. I got a lot out of your EG2010
conference presentation, and one of the complaints I've heard from staff
ever since we migrated was that they wanted to see call numbers in search
results instead of loading every record individually. I didn't know that
there was a working example of a results page though, that will be a big
help.

Thanks for the pointers.

Jason

--
Jason Boyer, IT Specialist
Jackson County Public Library
303 W Second St
Seymour, IN 47274

jasonb at myjclibrary.org


On Sun, May 2, 2010 at 8:23 PM, Dan Scott <dan at coffeecode.net> wrote:

> On 2 May 2010 11:19, Jason Boyer <jasonb at myjclibrary.org> wrote:
> > I'm looking a little at BibTemplate in 1.6 and have a couple quick
> > questions.
> > One, I've been having some trouble getting any tags but <td> to work with
> > the type and query attributes. I've seen examples using spans, but I
> > couldn't get them to do anything.
>
> On our 1.6.0.4 system, I just tried adding:
>
> <p type='opac/slot-data' query='datafield[tag=245]'></p>
>
> to the top of our rdetails/rdetail_summary.xml file, above the table
> that normally displays the elements. And... it showed the contents of
> the 245 field as you would expect. Maybe you want to share an example
> of what you were trying to do?
>
> > Second, is BibTemplate enabled on the search results page, or only record
> > details? If it's not on the results page, how difficult would it be to
> add,
> > and is that already planned for a later release?
>
> There's not much to do to enable BibTemplate; Dojo is already active
> on the search results page, so you just need to clone the
> dojo.addOnLoad() section of rdetails/rdetail_summary.xml that contains
> the dojo.require('openils.BibTemplate') call and adjust the request to
> reflect the bib ID of each record.
>
> My colleague Kevin Beswick has an initial draft of a results page that
> uses BibTemplate running at
>
> http://laurentian-test.concat.ca/opac/en-CA/skin/btresult/xml/rresult.xml?t=android&tp=title&l=105&d=1&rt=title
> - there's still some work he needs to do, but it's the direction we're
> heading. And in general, yes, I think BibTemplate on the default skin
> for search results and more use of it on the record details page are
> goals for a future release.
>
> --
> Dan Scott
> Laurentian University
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://libmail.georgialibraries.org/pipermail/open-ils-dev/attachments/20100503/078ec6c3/attachment.htm 


More information about the Open-ils-dev mailing list