Buzzy,
Holly’s suggestion is a great one, and makes for an easy workaround. For what it’s worth, library website URL isn’t stored anywhere in the database, but perhaps it could be a good addition to actor.org_unit? Perhaps actor.org_unit.library_url? Maybe it would prove useful in other places beyond the receipt templates. Without it being stored in the database, however, a macro could not be added for this. Schema changes (I believe) are only allowed in major version releases (eg 2.6, 2.7, etc.) and not in point releases, so it would be the next version of Evergreen before such a feature could be accepted into the code base, if developed. On the subject of library phone number, however, I could be wrong, but I think there is already a macro for this. If not, then +1 on adding one as I’d say that is an oversight since that information is currently stored in the database and I’d consider it an oversight to not have that macro. My best recommendation to you would be to open a bug at https://bugs.launchpad.net/evergreen and notate it as a “wishlist” bug. If someone gets inspired, or decides to fund development to expidite such a feature, the request will be out there. Most developers will check the wishlist if they’re looking for new features to add before they’d look towards the general list (at least from my perspective) because Launchpad allows for easy searching by the “wishlist” tag to see what features people are clamoring for. Michael Peters Senior Systems Analyst Emerald Data Networks, Inc. Phone: 678.302.3000 x1013 Help Desk: 678.302.3000 x1500 www.emeralddata.net From: [email protected] [mailto:[email protected]] On Behalf Of Holly Brennan Sent: Wednesday, January 22, 2014 7:14 PM To: Evergreen Discussion Group Subject: Re: [OPEN-ILS-GENERAL] Macros I'm wondering how hard it would be to create a few new ones for library contact info, say %library_phone%, %library_website%, etc. My programming-fu is weak, though, so I'm not sure I'm be the person to do it! Buzzy - You can manually add things like the library name, phone, etc. They just aren’t listed as macros. Here’s how I configured the top of our patron-oriented receipts (items out, renewals, etc): <center>Homer Public Library<br/> 500 Hazel Ave, Homer AK 99603<br/> 907-235-3180<br/> www.cityofhomer-ak.gov/library <http://www.cityofhomer-ak.gov/library%3cbr/> <br/> ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ <br/></center> You have the following items:<hr/><ol> And it prints on the receipt as this (only centered): Homer Public Library 500 Hazel Ave, Homer AK 99603 907-235-3180 www.cityofhomer-ak.gov/library <http://www.cityofhomer-ak.gov/library> ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ You have the following items: You set this up on one station, then copy the templates to all other computers at that branch. It’s a little work, but only has to be done once. And since you have to copy the customized templates to each workstation regardless, there’s not much difference in typing/coping a line of macros vs. typing the library name manually. Hope that helps. And thanks for the list, Lynn! -Holly From: [email protected] <mailto:[email protected]> [mailto:[email protected]] On Behalf Of Buzzy Nielsen Sent: Wednesday, January 22, 2014 2:36 PM To: [email protected] <mailto:[email protected]> Subject: Re: [OPEN-ILS-GENERAL] Macros Thanks, Lynn. This is great. I'm wondering how hard it would be to create a few new ones for library contact info, say %library_phone%, %library_website%, etc. My programming-fu is weak, though, so I'm not sure I'm be the person to do it! Cheers! Buzzy ************************************ Library Director Hood River County Library District 502 State St Hood River, OR 97031 541-387-7062 http://hoodriverlibrary.org On 01/22/2014 02:52 PM, Lynn Floyd wrote: Here is a list I put together a while back I know it is not complete. Lynn Floyd [email protected] <mailto:[email protected]> Anderson County Library 864-260-4500 x181 http://www.andersonlibrary.org <http://www.andersonlibrary.org/> From: [email protected] <mailto:[email protected]> [mailto:[email protected]] On Behalf Of Buzzy Nielsen Sent: Wednesday, January 22, 2014 3:47 PM To: Evergreen general listserv Subject: [OPEN-ILS-GENERAL] Macros Hi everyone, In the receipt template editor, you can get a list of macros that you can use by clicking the "Macros" button. However, I'm wondering if there are other macros that are available but simply aren't listed. Is there a list of the available macros anywhere? Specifically what we're trying to do is setup a generic selfcheck receipt template for our consortium that could include, say, the individual library's phone number, website, etc. Thanks for your help! Cheers! Buzzy Nielsen ************************************ Library Director Hood River County Library District 502 State St Hood River, OR 97031 541-387-7062 http://hoodriverlibrary.org
