NiO PhotoShelter Dual Search Widget

Integrating the Photoshelte image search with the standard Wordpress search

NiO PhotoShelter Dual Search Widget
July 3, 2010 Johan Peijnenburg
In Software

Introduction

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.

NiO PhotoShelter Dual Search Widget

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.

Technology

The widget is written in simple straightforward JavaScript. It was primarily designed for use with WordPress or Joomla. The widget will however run on any web page.

Samples

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).

Download

The NiO PhotoShelter Dual Search widget can be downloaded from our NiO PhotoShelter Widgets page.

If you like this widget and decide to use it, please donate, blog about it or provide a credit on your site with a link to my site (http://www.niophoto.com).

Subscription discounts

If you are interested in using either PhotoShelter or Graph Paper Press and want to sign up for a trial, please consider using the image buttons below to get yourself (and me) a discount …

Join PhotoShelter & Save!
Graph Paper Press WordPress Themes