Announcement

#1 2003-11-02 18:40:52

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Quick Search

Quick search MOD

Displays a search box on the thumbnails page, just a text field and a submit button.

MOD page in the download area

Offline

 

#2 2003-12-11 14:51:57

Gweltas
Former Piwigo Team
Lyon en théorie
2003-12-04
547

Re: Quick Search

A simple question : will this feature be integrated in the next release of phpWG or will it remain only a MOD ? 

Offline

 

#3 2003-12-11 15:15:07

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Re: Quick Search

this will be integrated and optionnal (in admin panel > configuration section)

Offline

 

#4 2004-02-16 00:04:01

ORJI
Guest

Re: Quick Search

That's Great!

 

#5 2005-05-05 20:31:50

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Re: Quick Search

New version available, compatible with PhpWebGallery 1.4.0.

Offline

 

#6 2005-05-12 15:51:54

vimages
Member
2004-03-27
2116

Re: Quick Search

in first : maybe a bug :

I have just installed quick search 2
on 1.4

and each time I make a search, I have this during 2 seconds

Notice: Undefined index: search_author in c:\serveur\www\abonnes3\search.php on line 61

Notice: Undefined index: date_type in c:\serveur\www\abonnes3\search.php on line 78

and after I obtain the search result.



after that ,  a question :
if I write 2 keywords in the search form, I want to have only picture witch have the 2 keywords include, but pwg show me all pictures witch have only one of this keywords....  could you change that ??


many thanks
eric.

Offline

 

#7 2005-05-12 23:56:31

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Re: Quick Search

vimages wrote:

in first : maybe a bug : [...] and each time I make a search, I have this during 2 seconds

Notice: Undefined index: search_author in c:\serveur\www\abonnes3\search.php on line 61
Notice: Undefined index: date_type in c:\serveur\www\abonnes3\search.php on line 78

and after I obtain the search result.

This is a "known" bug. I've let it because only notices are displayed and that log level should not be that high on a production server. Furthermore, they are not blocking at all.

vimages wrote:

if I write 2 keywords in the search form, I want to have only picture witch have the 2 keywords include, but pwg show me all pictures witch have only one of this keywords....  could you change that ??

This is the difference between "OR" and "AND" mode. By default, the "OR" mode is used. In the quick_search block of template/default/category.tpl, replace

Code:

<input type="hidden" name="mode" value="OR" />

by

Code:

<input type="hidden" name="mode" value="AND" />

Offline

 

#8 2005-05-13 00:13:56

vimages
Member
2004-03-27
2116

Re: Quick Search

realy i'm confused...

- this morning I read the code of this mod.. I understood that I have to change OR to AND...
 
but I surely made a mistake... the quick search did'nt give me good results...

- I just make this change now and it's working very good....

so many thanks one more time !!

eric.

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact