When you use a WordPress’s publishing platform and combine this with PhotoShelter’s image archiving and e-commerce capabilities, you may have noticed that there is no combined search option. As a result, you’ll always end up with two search input fields, each with their own styling and buttons. Back in January, when I was creating this website, I decided that it was worth the effort to write up some code to combine the two searches. I have already provided the code to many PhotoShelter colleagues, but until now I didn’t find the time to write up documentation and make it available for download. Here it finally is however …
The NiO PhotoShelter Dual Search Widget was last updated on August 22nd, 2010: version 1.0.3 now available for download!
What the NiO PhotoShelter Dual Search widget does?
The NiO PhotoShelter Dual Search Widget makes it possible to combine the standard Graph Paper Presss/Wordpress blog search with the PhotoShelter image search, without needing two separate search input fields.
Please expect no magic … by implementing this widget you get rid of the two search options with differing styling. It still only returns the results from one of the two however, depending on which of the two available options is selected.
The NiO Dual Search widget:
- Creates two radio buttons, to determine if the search needs to be executed in the blog or in the PhotoShelter image archive
- Includes a hyperlink that takes the user to the advanced search page of PhotoShelter.
- Allows for styling the search form.
This site uses the NiO PhotoShelter Dual Search Widget on the home page. The “niodualsearch/samples” directory (part of the download) contains an html example of the widget (“NioDualSearchSample.html).
The NiO PhotoShelter Dual Search widget can be downloaded from our NiO PhotoShelter Widgets page.