[Koha] Adding to the circulation template

Owen Leonard oleonard at myacpl.org
Thu Jan 22 04:52:57 NZDT 2009


> 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


More information about the Koha mailing list