![]() |
|
Search- disregard hyphens - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Search- disregard hyphens (/thread-4665.html) |
Search- disregard hyphens - RachelL - 2009-02-10 Hey guys, Just a question about the search function.. I name my images as "image-name-here.jpg"... so when I search for "image name here" nothing comes up, I have to add the hyphens and search for "image-name-here" in order for the image to show... is there a way to change that so that hyphens are regarded as spaces? Thanks in advance for any help, Search- disregard hyphens - RachelL - 2009-02-12 Is there no way to search for more than one word? If I name my files "image name here", will the %20 that is added be regarded as a space when searching? Search- disregard hyphens - sbillard - 2009-02-12 search for Search- disregard hyphens - RachelL - 2009-02-12 Thanks sbillard, using "&" doesn't seem to work for me though on v1.2.1.. or did you mean you have to search for "image" and "name" and "here" separately and there's no way around that? Like on the demo gallery, with the image named "Monet - sunrise" (http://www.zenphoto.org/zenphoto/impressionists/Monet+-+sunrise.jpg.php) Thanks for your help, Search- disregard hyphens - acrylian - 2009-02-12 If you are still on 1.2.1 you should upgrade anyway. Search- disregard hyphens - RachelL - 2009-02-12 Thanks, I will, is this search issue any different in the new version? Search- disregard hyphens - sbillard - 2009-02-12 I took a look at your site and tried a few things. This problem seems to be due to the issue we have that TAGS do not work in boolean searches with the AND (&) operator. If I turn off the TAGS field in the search the image is found. So it would appear your choices are:
Right now I do not have an idea of how to get the two search types working together. Search- disregard hyphens - RachelL - 2009-03-07 Thanks, could you please let me know how to disable tags as a search field, without having to manually untick the checkbox? I was also wondering if it was possible to search an album exclusively? Thanks again Search- disregard hyphens - RachelL - 2009-03-07 Oops, I found the option to disable tag searching in the gallery config, sorry. I apologize for all of the questions, but just one more! Although the "File/Folder name" and "Title" box is ticked under the search options (on the demo zenphoto gallery), a search for "impressionists & monet" doesn't return anything (the monet picture is in the impressionists folder, http://www.zenphoto.org/zenphoto/impressionists/Monet+-+sunrise.jpg.php). I thought I could use that when I wanted to search a specific album by using "albumfoldername & imagename" but it's not working for me, are the two searches not able to work together or am I searching for it incorrectly? Also, I'd imagine this wouldn't be possible, but just in case, I was wondering if it were possible for a space between 2 words to be classified as an "and", instead of manually entering "&" (users wouldn't know to use that symbol automatically). Thanks again for all of the help, it's much appreciated. Search- disregard hyphens - sbillard - 2009-03-07 It will not work because the album is a separate item from the image. You are searching the filename for inclusing of both You will need to teach your users to use Search- disregard hyphens - RachelL - 2009-03-08 Thanks for your reply. So no way to search within a specific album? Search- disregard hyphens - acrylian - 2009-03-08 No, sorry, that is not possible at the moment. |