[Koha] Opening/finding/editing the circulation tmpl

Amber M Amland library at mountainviewics.org
Tue Feb 24 14:52:53 NZDT 2009


Thank you to all who have helped us! We are slow learners of Linux though
and haven't figured out how to open the circulation.tmpl.  We tried $ find
/path/to/you/koha -name circulation.tmpl, but that didn't work well. My
tech. friend tried a few other commands and found the directory that has
circulation.tmpl, but we don't know how to open it yet. We want to add years
to our drop down date due box in Koha 2.2.3.  Can you help?

Thanks!
Amber 

-----Original Message-----
From: koha-bounces at lists.katipo.co.nz
[mailto:koha-bounces at lists.katipo.co.nz] On Behalf Of Amber M Amland
Sent: Thursday, January 22, 2009 8:42 AM
To: koha at lists.katipo.co.nz
Subject: Re: [Koha] Adding to the circulation template


Thanks, yes, we can't find the circulation.tmpl.  How do we find it?  We're
unfamiliar with Linux.  We've been trying to find it through the web
browser, which is where I back up Koha and repair tables if anything is
wrong. Is there a way to do it through the web browser?  Or, how do we do it
somewhere else?

Thanks,
Amber

-----Original Message-----
From: Owen Leonard [mailto:oleonard at myacpl.org] 
Sent: Wednesday, January 21, 2009 10:53 PM
To: library at mountainviewics.org
Cc: koha at lists.katipo.co.nz
Subject: Re: [Koha] Adding to the circulation template

> How do we get to our
> circulation.tmpl to be able to see this and add the years?
> ...
> <option value="2008"<!--
> TMPL_IF NAME="year2008" -->
> selected="selected"<!-- /TMPL_IF -->>2008</option> </select>

That looks like the right place in the template, but your question
makes it sound like you couldn't find circulation.tmpl?

I think you should be able to simply add additional <option>s to the HTML:

<option value="2008"<!-- TMPL_IF NAME="year2008" -->
selected="selected"<!-- /TMPL_IF -->>2008</option>
<option value="2009"<!-- TMPL_IF NAME="year2009" -->
selected="selected"<!-- /TMPL_IF -->>2009</option>
<option value="2010"<!-- TMPL_IF NAME="year2010" -->
selected="selected"<!-- /TMPL_IF -->>2010</option>
<option value="2011"<!-- TMPL_IF NAME="year2011" -->
selected="selected"<!-- /TMPL_IF -->>2011</option>

  -- Owen

-- 
Web Developer
Athens County Public Libraries
http://www.myacpl.org

_______________________________________________
Koha mailing list
Koha at lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha



More information about the Koha mailing list