[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] CVS: koha/updater updatedatabase,1.121,1.122
From: |
Paul POULAIN |
Subject: |
[Koha-cvs] CVS: koha/updater updatedatabase,1.121,1.122 |
Date: |
Fri, 02 Sep 2005 07:18:40 -0700 |
Update of /cvsroot/koha/koha/updater
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26960/updater
Modified Files:
updatedatabase
Log Message:
new feature : image for itemtypes.
* run updater/updatedatabase to create imageurl field in itemtypes.
* go to Koha >> parameters >> itemtypes >> modify (or add) an itemtype. You
will see around 20 nice images to choose between (thanks to owen). If you
prefer your own image, you also can type a complete url
(http://www.myserver.lib/path/to/my/image.gif)
* go to OPAC, and search something. In the result list, you now have the
picture instead of the text itemtype.
Index: updatedatabase
===================================================================
RCS file: /cvsroot/koha/koha/updater/updatedatabase,v
retrieving revision 1.121
retrieving revision 1.122
diff -C2 -r1.121 -r1.122
*** updatedatabase 24 Aug 2005 08:49:03 -0000 1.121
--- updatedatabase 2 Sep 2005 14:18:38 -0000 1.122
***************
*** 99,102 ****
--- 99,103 ----
my %requirefields = (
subscription => { 'letter' => 'char(20) NULL'},
+ itemtypes => { 'imageurl' => 'char(200) NULL'},
# tablename => { 'field' => 'fieldtype' },
);
***************
*** 277,280 ****
--- 278,282 ----
my $type = $row->{type};
my $null = $row->{null};
+ # $null = 'YES' if $row->{null} eq 'NULL';
my $key = $row->{key};
my $default = $row->{default};
***************
*** 620,623 ****
--- 622,632 ----
# $Log$
+ # Revision 1.122 2005/09/02 14:18:38 tipaul
+ # new feature : image for itemtypes.
+ #
+ # * run updater/updatedatabase to create imageurl field in itemtypes.
+ # * go to Koha >> parameters >> itemtypes >> modify (or add) an itemtype. You
will see around 20 nice images to choose between (thanks to owen). If you
prefer your own image, you also can type a complete url
(http://www.myserver.lib/path/to/my/image.gif)
+ # * go to OPAC, and search something. In the result list, you now have the
picture instead of the text itemtype.
+ #
# Revision 1.121 2005/08/24 08:49:03 hdl
# Adding a note field in serial table.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha/updater updatedatabase,1.121,1.122,
Paul POULAIN <=