0 votes

Sift

Add filters based on your Umbraco content.

Easily create dynamic filters for your website, based on your Umbraco content. No coding required, simply add classes and attributes to your HTML.

  • Results automatically populated from Umbraco content
  • Criteria dropdowns automatically populated based on the Umbraco property
  • Create your own partial view to display the results as you want
  • Results can be paginated and sorted
  • Control whether criteria are remembered between searches
  • Date and number range searches
  • You have full control over layout and styling
  • Uses Examine for quick and efficient searches

Versions

Sift is available for Umbraco V8 and Umbraco V9. The easiest way to install it is by using NuGet.

> Install-Package StuartMullinger.Sift8
> Install-Package StuartMullinger.Sift9

Once installed, a front-end developer need only create some HTML with specific classes and attributes and a fully functioning filter will be rendered, allowing the website user to search the Umbraco content as specified.

----------
<h1>Simple Filter</h1>
 
<div class="sift"
     data-sift-result-document-type="cinemaCento">
 
    <form class="sift-criteria">
 
        @Html.AntiForgeryToken()
 
        <label for="filmName">Name</label>
        <input type="text" id="filmName" name="filmName"
               class="sift-criterion"
               data-sift-match-property="nodeName" />
        <p></p>
 
        <input type="submit" value="Search" />
 
    </form>
 
    <div class="sift-result">
    </div>
 
</div>
 
<script src="~/Scripts/sift.js" type="text/javascript"></script>
----------

The front-end developer has the flexibility to style the form as required, and can even override the default results to display and style the filtered content. The code above will return content with a document type of "cinemaCento", filtered on the node name according to the text the user has entered in the input field.

Sift is free to use, with no limiting of the functionality.

To find out more about using Sift, please take a look at the user guide.

Screenshots

 Download package
version 9.0.0

NuGet install instructions for Umbraco 8.4.0-8.18.15

Install-Package StuartMullinger.Sift8

Package owner

Stuart Mullinger

Stuart Mullinger

Stuart has 422 karma points

Package Compatibility

This package is compatible with the following versions as reported by community members who have downloaded this package:
Untested or doesn't work on Umbraco Cloud
Version 8.18.x (untested)

You must login before you can report on package compatibility.

Previously reported to work on versions:

Package Information

  • Package owner: Stuart Mullinger
  • Created: 31/05/2021
  • Current version 9.0.0
  • .NET version 4.7.2
  • License MIT
  • Downloads on Our: 99
  • Downloads on NuGet: 588
  • Total downloads : 687

External resources