Create a custom keyword search box
thenickdude
Registered Users Posts: 1,302 Major grins
This custom keyword search box allows you to add keywords to the user's query, or allow the user to pick keywords from a dropdown box instead of typing them in:
http://www.sherlockphotography.org/Customisations/Custom-site-search
You could also allow the user to select keywords using checkboxes or radio buttons, let me know if anybody wants an example of either of these.
Note that SmugMug recently added the ability to create a search box that only searches a specified gallery or folder, so if that's the only thing you're trying to do, you can use a regular SmugMug search content block instead.
http://www.sherlockphotography.org/Customisations/Custom-site-search
You could also allow the user to select keywords using checkboxes or radio buttons, let me know if anybody wants an example of either of these.
Note that SmugMug recently added the ability to create a search box that only searches a specified gallery or folder, so if that's the only thing you're trying to do, you can use a regular SmugMug search content block instead.
https://www.sherlockphotography.org/
Please check out my gallery of customisations for the New SmugMug, more to come!
Please check out my gallery of customisations for the New SmugMug, more to come!
0
Comments
Former SmugMug Product Team
aaron AT aaronmphotography DOT com
Website: http://www.aaronmphotography.com
My SmugMug CSS Customizations website: http://www.aaronmphotography.com/Customizations
Some cleanup of the results page. To remove keyword controls add the below to CSS:
.sm-gallery-related-keywords {display:none !important;}
.sm-gallery-combine-with {display:none !important;}
.sm-gallery-remove-keywords {display:none !important;}
Also, slight clarification on your tutorial. If hosting the script on a server, the user has to add URL/search.php to the action field. (do you have a redirect setup?)