Commit graph

6508 commits

Author SHA1 Message Date
tipaul
c00363a571 Update of systempreferences table structure and admin script. Contains now a "help" fields that shows what param is supposed to do what. The params will be in the sample-DB. I've dumped the 3 I know. If there are others, let me know :
INSERT INTO systempreferences VALUES ('template', 'french', 'Template default name. Not used for instance');
INSERT INTO systempreferences VALUES ('autoBarcode', '', '1 or else. If 1, Barcode is auto-calculated');
INSERT INTO systempreferences VALUES ('acquisitions', 'normal', 'normal or simple : will use acquisition system found in directory acqui.simple or acquisition');
2002-05-15 12:17:35 +00:00
tipaul
b1dd6ad93b small bugfix : adding bibdata only if exist 2002-05-15 08:17:59 +00:00
tipaul
6d2a66e639 newsubtitle called only if title exist 2002-05-15 07:52:01 +00:00
tipaul
9485844330 bugfix : link corrected to acquisition 2002-05-15 07:40:45 +00:00
rangi
1c94d32cc2 Now uses KeywordSearch from C4::Search rather than keywordsearch from
C4::Acquisitions .. which can now be deprecated?
At least unless gynn tells me ive done something bad :)
2002-05-15 06:11:21 +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
rangi
b355e2187c Reverting back to old search.pl (for now)
The html::template version is in html-template
2002-05-15 04:36:51 +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
tonnesen
101d1c604e Fixed search.pl so that next and previous buttons work... had to pass form
parameters in to the templates

Didn't make any changes to bulkmarcimport.pl recently, so I'm probably
squashing somebody else's changes.  Will have to fix that...
2002-05-15 04:12:24 +00:00
truth_nz
cefb0bb2c1 Fixed a few warnings. 2002-05-15 04:08:38 +00:00
truth_nz
7ae8f46a85 Patch to acqui system to use new newbiblioitem() parameters 2002-05-15 02:22:24 +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
171372a9d0 Made a wrapper function catalogsearch
This then chooses whether to call KeywordSearch, or CatSearch, or any other
searches.
2002-05-14 21:36:39 +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
tipaul
f2509ca2b2 First, run updater/thesaurus_create.pl.
It creates a thesaurus table and fills it with data in bibliosubject. Thesaurus
contains 2 columns : freelib and stdlib. This permits connecting differents forms for a word/sentence (HUGO may be mapped to V. Hugo, Victor Hugo...)
In modbib.pl, you will see "..." near subject. If you   click on this ..., a popup appear. It has 4 parts : the Subject field, a search field with Search button. If you enter a value here and click Search, a list of thesaurus entries starting by what you enter appear.
If you select a value and click "OK", the value is added to the subject list.
When you've finished, click END. the window is closed, and the value copied to main subject window.

Make heavy use of javascript. TESTED UNDER MOZILLA 0.99. Please test under IE.

Administration of thesaurus table will come soon (with html::template) ...
2002-05-14 11:26:09 +00:00
tipaul
00319751b7 DB query optimisation 2002-05-14 09:13:52 +00:00
tipaul
64a90aec93 * getallorders now returns only not fully recieved orders 2002-05-14 09:12:43 +00:00
truth_nz
bb8b344e40 Added code to allow deleting of biblioitems 2002-05-14 04:12:52 +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
b7ad145cfe Calculate itemcount in Search.pm if using new template based search interface 2002-05-13 23:07:47 +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
tipaul
c981ae9957 oops, removing 3 test lines... (ending by a die !) 2002-05-13 20:32:36 +00:00
tipaul
c7d01057b9 Bugfixes : removes some hard coded trailing dates in select... 2002-05-13 20:22:24 +00:00
truth_nz
da5071c2fd bug fix to actually save the changes made to an website biblioitem. 2002-05-13 00:45:46 +00:00
truth_nz
0747fb1fbb Changes to allow modifications to the website biblioitems
Changes to way that website biblioitems are shown on the details page
2002-05-12 18:08:17 +00:00
truth_nz
4915ed786c New files, and changes to add associated webstes to a biblio.
Adds a new table to database - so installer needs updating again.
2002-05-12 15:37:53 +00:00
rangi
1b7a2530e6 Committing Paul's changes into the main branch, and salvaging the changes
made in version 1.4 that got clobberd by 1.5
2002-05-12 00:02:17 +00:00
rangi
05f7375ea9 Starting Makefile.PL and starting work on pod inside Search.pm 2002-05-11 01:50:35 +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
rangi
27d0900c6d Just adding some spaces to test the new cvs-koha list 2002-05-10 05:03:19 +00:00
truth_nz
cec2db30ea Update to catalogue to allow change of biblio abstracts.
Related modifications to acqui system to match changes in Acquisition.pm
detail.pm changed to show abstract - still working on how to show url's
2002-05-09 03:01:40 +00:00
truth_nz
3e3b57dedf Update to catalogue to allow change of biblio abstracts.
Related modifications to acqui system to match changes in Acquisition.pm
detail.pm changed to show abstract - still working on how to show url's
2002-05-09 01:07:36 +00:00
finlayt
2131829c6b changed the destination branch dropdown to only show branches that have
categorycode == CU, ie can be current branch.
2002-05-07 04:36:00 +00:00
rangi
f1e1110cf9 Now use the new hash based results returned from Search.pm 2002-05-07 00:09:06 +00:00