![]() |
|
Search all options by default - 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 all options by default (/thread-5351.html) |
Search all options by default - Lobbsta - 2009-06-18 Haven't found anythign on this yet. What I want to do is search my site using the search form and have all the options already checked. I have tried setting the query field section of the function to 1, 0 and various bit combinations but have been unsuccessful so far in getting it to automatically have all the boxes checked. I would prefer that guests didn't have to worry about what they fields they were searching and have it return anything that is relevant. Currently running Build 4022. Any help with this would be great. Search all options by default - acrylian - 2009-06-18 You can set the fields on the search option on the backend. You can also hide the icon for the selector via the css id #searchfields_icon. Search all options by default - Lobbsta - 2009-06-18 Hi acrylian I may be missing something but when I'm in the backend under Option > Search I've got all the relevant ones selected there. But I can't seem to set them to be on (checked) in the front end. 'Tags' is the only one checked by default. If I go and search Olympus for Camera Maker without setting anything from the selector it tells me it can't find anything. Thanks Search all options by default - acrylian - 2009-06-18 Hm, if I add some on the backend they are all checked. Maybe try clearing cookies i believe that stores any selection. sbillard would know but will be absent until beginning of next week. Search all options by default - Lobbsta - 2009-06-18 Thanks. That is what I'd been expecting to have happen. Have cleared the cache and cookies and it reverted back to just the 'tags' on the front end. Will continue trying to figure it out. Might do a clean install and see what happens, may have made a change to the core code somewhere along the line when I was playing. Hamish Search all options by default - Lobbsta - 2009-06-18 Found the reason. I was accessing the search page by clicking a linked 'tag' which meant only the 'tags' checkbox was ticked for any further searches. Search all options by default - acrylian - 2009-06-18 Ok, thanks for letting us know. Otherwise it might have been a bug. |