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
A simple question : will this feature be integrated in the next release of phpWG or will it remain only a MOD ?
Offline
this will be integrated and optionnal (in admin panel > configuration section)
Offline
That's Great!
New version available, compatible with PhpWebGallery 1.4.0.
Offline
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
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 78and 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
<input type="hidden" name="mode" value="OR" />
by
<input type="hidden" name="mode" value="AND" />
Offline
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