Commit graph

25 commits

Author SHA1 Message Date
rangi
da29b56e28 Fixing ItemInfo2 to ItemInfo 2002-05-21 01:16:02 +00:00
rangi
9a573709f1 Adding in publisher and abstract as search fields 2002-05-19 21:27:12 +00:00
rangi
a800aae2f6 First cut of moredetail.pl using html::template
I think this is the last file ill work on templating for while, since this
allows me to achieve my aim which is to make the search results easily
customisable. So ill finish this off, then work on the opac versions. And
then back to bugfixing ill go
2002-05-15 04:54:07 +00:00
tonnesen
f5453dce2a Darn. Committed over old search.pl... really going to have to learn how to
roll back files.  ;)
2002-05-15 04:16:37 +00:00
rangi
5776c0cc62 Html::Templated version of detail.pl,
this combined with the template in koha-html should be a drop in replacement
for the intranet detail.pl script
2002-05-15 00:39:43 +00:00
rangi
1e647ae716 Shifted picktemplate out into C4::Output.pm 2002-05-14 23:13:23 +00:00
tonnesen
f490f252c2 Bug that prevented picking alternate themes from default 2002-05-14 21:54:41 +00:00
tonnesen
fad9ba7d69 Fixed some breakage... 2002-05-14 21:46:11 +00:00
rangi
5966c66004 Now works with all searches, this plus the templates should now be close to
a drop in replacement for the existing search.pl

Actually, just the subject search to go (requires a slightly different
template .. or some kind of TMPL_IF in the template
2002-05-14 21:33:23 +00:00
tonnesen
c619d5afba Modifications to use new template directory structure. Removed hard coded
includes directory in templates.  Note that TMPL_INCLUDE tags in a template
will now use the koha.conf includes variable as a search path, so only the
filename needs to be used.
2002-05-14 19:34:44 +00:00
tonnesen
5aa4116d16 Added cell padding back in to table for default.tmpl 2002-05-13 23:31:23 +00:00
tonnesen
8d2b361239 Fixed reference to newsearch.pl instead of search.pl 2002-05-13 23:22:42 +00:00
tonnesen
5a7f47998a Fixed some problems in default.tmpl
Note, I have the includes dir hard-coded in default.tmpl.  Needs fixing.
Also, you can pick another template by setting a systempreferences variable
'template' to some other value.  If the given template can't be found, default.tmpl will be loaded instead.
2002-05-13 23:20:45 +00:00
tonnesen
f1afbb56f2 Changes:
- templates are expected to be found in
    INCLUDESDIR/templates/catalogue/searchresults/default.tmpl
 - Works with default Search.pm from cvs
2002-05-13 23:05:45 +00:00
rangi
4e4ff04a0e Will work now with the existing C4/Search.pm at least the one in the main
branch.
Will still break with the version in rel-1.2
2002-05-13 22:29:27 +00:00
tonnesen
c7034b7e2e Small cleanups. We really need to hash out some standard hierarchy for storing
these templates.  I'm thinking they are going to get a little overwhelming...
2002-05-10 22:38:08 +00:00
tonnesen
af3383f0b6 Cleaned up formatting of dewey number before returning result from Search.pm 2002-05-10 22:34:36 +00:00
tonnesen
45ce9c5283 Modified Search.pm to work with HTML::Template search.pl file. WARNING!! This
Search.pm will break the existing search!!!!
2002-05-10 22:24:01 +00:00
tonnesen
0058d9f7e3 Modified to use Search.pm and KeywordSearch().
Note that I had to modify Search.pm as well to get it to return something other than that bizarre @stuff array.  :)
2002-05-10 22:18:48 +00:00
tonnesen
7e48dd5114 Fixed startfrom in template links in header 2002-05-10 21:26:24 +00:00
tonnesen
f257b8ae0e Still playing. Added a "next record" link 2002-05-10 21:22:18 +00:00
tonnesen
7821d507a3 Added ability to switch between two templates. One template shows
biblionumber, the other template shows notes, in the third column.

My thinking is that for every template, the scripts can search for a local
version of the template before using the default template.
2002-05-10 17:41:05 +00:00
tonnesen
0f6b4029fc Now using real data. Returns first 20 records where author starts with 's' 2002-05-10 17:21:36 +00:00
tonnesen
5e16850c5e Put Dewey back in template file 2002-05-10 17:12:31 +00:00
tonnesen
5c41d379cf Starting to play with HTML::Template
I'm going to work on the search interface instead of the circulation interface
as the search interface is where my librarians want the most changes at the
moment.
2002-05-10 17:08:04 +00:00