[IUG] Browser title information in webpac pages


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Hi Bob,

Thanks for that - I see now that Andrew's instructions are quite clear .. if only I had remembered they were there.

It works of course but then you lose the scope name in the title bar.

I notice Brooklyn Lublic Library has a variation - they have the 245 field displaying in the title bar on single record displays e.g.
http://iii.brooklynpubliclibrary.org/search~S63?/Xcats&searchscope=63&SORT=D/Xcats&searchscope=63&SORT=D&SUBKEY=cats/1%2C2282%2C2282%2CB/frameset&FF=Xcats&searchscope=63&SORT=D&1%2C1%2C

I will have to ponder further...

Cheers,

Bruce.


Message: 4
Date: Wed, 01 Feb 2012 12:33:06 -0500
From: Bob Duncan <duncanr at lafayette dot edu>
Subject: Re: [IUG] Browser title information in webpac pages
To: IUG INNOPAC List <innopac at innovativeusers dot org>
Message-ID: <20120201173308 dot 8E85C284BE at zsmtp1 dot zprd dot lafayette dot edu>
Content-Type: text/plain; charset="us-ascii"; format=flowed

At 05:38 PM 1/31/2012, Bruce Eames wrote:
>On system generated screens in the webpac, the page title is
>typically something like " University of Melbourne /All Locations".
>
>I recall however having seen some web catalogues where the page
>title on browse screens (for example) was more user-friendly, e.g.
>with some information relating to the search or the record displaying.
>
>Does anyone know how this might be achieved?


You're using the script from Andrew Welch that writes the user's
search terms to the RightResult table headers. It includes a switch
to also display the search terms in the browser's title bar. In the
script (in your botlogo), find:

var chgTitle = 0

...and change the zero to a one.

Restart the WebPAC processes and you should see the search term(s) in
the title bar on search results screens.

Note that if you include the script in your botlogo and you use the
botlogo token in bib_display.html, the title bar will reflect the
current search when viewing a bib record, and not the title from the
record (because the script is grabbing the search terms from the
search tool). Getting the record title to the page's title element
in record views requires a little more effort.


Bob Duncan


~!~!~!~!~!~!~!~!~!~!~!~!~
Robert E. Duncan
Integrated Technologies Librarian
Lafayette College
Easton, PA 18042
duncanr at lafayette dot edu
http://library.lafayette.edu/


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



********************
Bruce Eames | Coordinator, Innopac / Millennium
The University of Melbourne | University Library
2nd Floor, 780 Elizabeth St Victoria 3010 Australia
T +61 3 8344 4236
E bme at unimelb dot edu dot au
W www.library.unimelb.edu.au
********************
Log Innopac / Millennium queries via the IT Service Desk http://servicedesk.unimelb.edu.au/
********************

This email and any attachments may contain personal information or information that is otherwise confidential or the subject of copyright. Any use, disclosure or copying of any part of it is prohibited. The University does not warrant that this email or any attachments are free from viruses or defects. Please check any attachments for viruses and defects before opening them. If this email is received in error please delete it and notify us by return email.


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.