Date Range Searching

Top  Previous  Next

When this option is enabled, the visitor will be able to specify a date range which search results must fall between. The user must specify a From date and a To date with the date picker control (or they can type in the date).

screenshot_datepicker

 

Note that when you next index after this feature is enabled, you will find two additional files created in your output directory ("zoom_datepicker.js" and "zoom_datepicker.css"). These files will need to be in the same folder as the other Required Files for your index.

While the date picker should work without any further changes, it is best to add the CSS styles to your template for aesthetics reasons (so that the clickable parts of the date picker control will look like buttons). You can do this by either copying the contents of "zoom_datepicker.css" into the <style> section of your template HTML page, or you can simply link to the file like so:

<link rel="stylesheet" href="zoom_datepicker.css" type="text/css">

 

Of course, you can modify the CSS with different colors or font types or sizes to suit your web site.

To perform a search without any date range, simply blank out the From and To text fields.