zenphoto version 1.2.3 [3696
default theme
Hi, I just realized that when I perform a "free" search (with a word not a tag) from a page I got after having clicked on a tag, an image which is usually found is not found anymore.
(I hope it's clear...)
Any idea ?
Comments
Let's try again :
For example, in the showcase section you have this site :
http://www.ellykalf.nl/galerie/recent-werk/beschuit-met-muisjes.jpg.php
The image title is : "Beschuit met muisjes" ok ?
Then click on the tag "stilleven" below.
So you are here :
http://www.ellykalf.nl/galerie/page/search/tags/stilleven
Then type "Beschuit" (which is a part of a title of an existing picture) in the search form on the right side : there's no result.
You see what I mean ?
I can't reproduce that on another site of the showcase section which doesn't use the clean URLS.
Maybe it's a part of the problem.
What do you think about it ?
http://www.alepan.com/page/search/tags/manifestation
then type "membre" (which is a part of the name of a displayed picture) in the search form : nothing found.
Additionally, from the second site there is no way for me to see what tags are supposed to be present.
I cannot reproduce the problem with the nightly build on my site. I suggest you enable the tag suggest plugin. Be sure that the text you are searching for exists in the list that plugin produces.
go to http://www.alepan.com/page/archive
then click on any tag in the tag cloud (for example "Bretagne")
so you get this page : http://www.alepan.com/page/search/tags/Bretagne
the title of the first image is "Bâteau à marée basse", right ?
Then use the search form on the same page (http://www.alepan.com/page/search/tags/Bretagne) and type "Bâteau à marée basse" : result : no image found.
I can reproduce this problem with Zenphoto version 1.2.3 [3696] with multilingual plugin on and clean url on. Don't you ?
Thank you for your time.
in this example the tag is "Bretagne".
The problem appears when you perform a "free" search (with words, not a tag) using the search form on the page you get after having performed a tag search.
In this example, after a tag search with the tag "Bretagne" you get this page :
http://www.alepan.com/page/search/tags/Bretagne
Then you can see that the title of the first image in this album is 'Bâteau à marée basse'.
If you perform a search from this page with this title (Bâteau à marée basse) using the search form you'll see that this image can't be found.
Do you get it ?
I did look into the source code and I see these fields enabled for search:
`
nnnnnnnn
`
If I do understand correctly the image title or filename is no enabled and therefore not searched. But sbillard surely will know more.
Yes you're right, the image title or filename is no enabled and therefore not searched on this website (which is not mine - as I get this problem, I've searched if it appears on other websites).
This website was not a good example again, sorry.
On my website I get this problem with this code :
`
`
So I feel a lttle bit lost right now.
Here is another example using zenphoto version 1.2.3 [3427] (Official Build) :
http://mytasvir.com/
The code is :
`
`
so you can search a title.
1.Let's try on the index page to perform this search "The Fremont Street Experience" which is a part of a title of an existing image : 1 image is found, ok ?
2.Then let's go to the gallery archive :
http://mytasvir.com/page/archive
and click on the "North America" tag at the bottom of the page, we get this page :
http://mytasvir.com/page/search/tags/North+America
You can notice that the first image of the album is the one we got in free search before which title is "The Fremont Street Experience lightshow in downtown Las Vegas, Nevada."
3.Then try to perform a search with these words "The Fremont Street Experience" using the search field on this page :
http://mytasvir.com/page/search/tags/North+America
No image found.
You see what I mean ?
A "free" search can't be performed from a tag based search result page, right ?
Another example : On your website I can't see what search fields are enabled, but if you go to your archive page :
http://www.sbillard.org/page/archive
and that you click on your "clock" tag in your tag cloud you'll get this page :
http://www.sbillard.org/page/search/tags/Clocks
The title of the first image in this album is "a lashmore".
If you perform a search with these words (a lashmore) using the search form in this page :
http://www.sbillard.org/page/search/tags/Clocks
no image found.
As I'm not sure of your settings, maybe my post is irrelevant (in this case, I'm really sorry), but I have the same problem with zenphoto version 1.2.3 [3696] even if the title is set as a search field.
Thank you for your time anyway.
You can select other fields from the field selector if you want to broaden your search.
http://www.sbillard.org/page/search/tags/Clocks
then from this page I perform a "free" search (not a tag one) : lashmore
and I get no result. This is the problem for me.
Right ?
Is it not a kind of "bug" ?
What is the point in preserving the search context ? Is it necessary for pagination ?
Actually I don't really know where to put `$_zp_current_search->fields=0;` in this code.
`<?php if (!checkForPassword()) {?><?php if (getOption('Allow_search')) { printSearchForm("","search","",gettext(" ")); } ?><?php } ?>`
Of course, if you start from the gallery again (presumably a serach not in the previous context) you will get back to the full list.