[imp] Turba Request

Atif Ghaffar aghaffar@developer.ch
Tue, 24 Jul 2001 18:15:31 +0200


Hi,
Sorry for the late reply.

Make sure you have the lates CVS checkout of Turba.
Also make sure that you have only one source defined in the
sources.php(Local SQL)

edit turba/search.php
add the following code
if(!isset($criteria)) $criteria="name";
if(!isset($val)) $val="";

just before the line that reads
if (isset($criteria) && isset($val)) {

thats it.
Now calling turba will list all entries.


cheers



FL KOF wrote:
> =

> Hi Atif Ghaffar,
> =

> >From: Atif Ghaffar <aghaffar@developer.ch>
> >>Not currently. The idea of a default search has come up, but no one
> >>worked out the details or submitted a patch.
> >I have this feature implemented on my site, but am not sure if it is
> >clean enough to make a patch.
> >
> >Infact by default the user sees the last 10 added entries but can
> >select "All entries" too.
> I would like to have the feature, could you please let me know how to d=
o it
> or send your patch for me. Thanks!

-- 
Atif Ghaffar
Internet Development Manager
4unet AG/SA/Ltd.
---------------------------.
          +41 21 351 53 60 ¦ voice
          +41 79 659 89 72 ¦ mobile
          +41 21 254 53 62 ¦ fax
      http://www.4unet.net ¦ www
http://www.atifghaffar.com ¦ homepage
    atif.ghaffar@4unet.net ¦ email