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

Tony Bandy tonyb at ohionet.org
Fri Jul 25 08:50:49 EDT 2014


Morning everyone,

Thank you so much for the information and updates--especially with the file searching!  I'm going to go in and start whacking away at the files today!  Wish me luck!

--Tony 

Tony Bandy
tonyb at ohionet.org
OHIONET
1500 West Lane Ave.
Columbus, OH  43221-3975
614-486-2966 x19

-----Original Message-----
From: evergreen-admin-bounces at list.evergreen-ils.org [mailto:evergreen-admin-bounces at list.evergreen-ils.org] On Behalf Of Stephen Hovey
Sent: Friday, July 25, 2014 6:26 AM
To: Lazar, Alexey Vladimirovich; Evergreen Discussion Group; <evergreen-admin at list.evergreen-ils.org>
Subject: Re: [Evergreen-admin] [OPEN-ILS-GENERAL] misc_util.tt2 and our 508 tag...

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 .
_______________________________________________
Evergreen-admin mailing list
Evergreen-admin at list.evergreen-ils.org
http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/evergreen-admin


More information about the Open-ils-general mailing list