[Evergreen-admin] [OPEN-ILS-GENERAL] misc_util.tt2 and our 508 tag...

Stephen Hovey hoveys at buffalolib.org
Fri Jul 25 06:25:37 EDT 2014


If you unix box has it installed (many do by default), locate is faster

locate .tt2

-----Original Message-----
From: evergreen-admin-bounces at list.evergreen-ils.org [mailto:evergreen-admin-bounces at list.evergreen-ils.org] On Behalf Of Lazar, Alexey Vladimirovich
Sent: Thursday, July 24, 2014 5:31 PM
To: Evergreen Discussion Group; <evergreen-admin at list.evergreen-ils.org>
Subject: Re: [Evergreen-admin] [OPEN-ILS-GENERAL] misc_util.tt2 and our 508 tag...


On 2014-07-24, at 14:57 , Tony Bandy <tonyb at ohionet.org> wrote:

> OK...that helps!  I was flying around the file system opening up various *.tt2 files looking for info!

Hello, Tony.

When fishing for strings in pile of files, the find command can be handy. Something like:

/openils/var$ find ./ -type f -print0 | xargs -0 grep '508'

The first couple of results in my case were:
./templates/opac/parts/record/authors.tt2:        xpath => '//*[@tag="508"]'
./templates/opac/parts/record/contents.tt2:        xpath => '//*[@tag="508"]'

Although, be ready to cancel the command with Ctrl+C, in case it gets to a reports output or logs folder.

> At the risk of driving you (and everyone else crazy....) if I open up the authors.tt2 file...can I just remove the offending lines?

Yes, but probably safest not to experiment on a live system. Also, if you are not using this approach already, consider using a separate folder for your locally customized template files. Otherwise they would get overwritten by the next upgrade. Having a separate directory for customized files would also let you more easily keep track of differences and cross-merge with template files from newer versions.

Aleksey Lazar
IS Developer and Integrator - PALS
http://www.mnpals.org/

_______________________________________________
Evergreen-admin mailing list
Evergreen-admin at list.evergreen-ils.org
http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/evergreen-admin


The Buffalo & Erie County Public Library System has more than 2.6 million materials available for borrowing including books, eBooks, DVDs, music and more. Free library card applications can be downloaded and taken to any of the 37- local public libraries for processing. A valid form of identification and proof of address is necessary. For more information call 716-858-8900 or visit www.BuffaloLib.org .


More information about the Evergreen-admin mailing list