Git Product home page Git Product logo

jet-engine-listing-as-filter's Introduction

JetEngine - listing as filter

This plugin allows to use JetEngine listing as filter for another listing. Download and instal it as usual WordPress plugin.

How to use

To use this plugin you need at least 2 listings on the page:

  • 1st - to use as filter.
  • 2nd - listing where you want to filter the data.

Go to the Listing as Filter section of 1st listing.

image

Enable this feature. Than you need to select actual filter which will be used as base. In this case filter mainly required to get the query settings for the filter - type of query and query variable. Please note - without selected filter this functionality will not work. Also note - for select, radio, checkboxes or any other filter types which allow to set options, these options will be ignored, Listing will use it's own query settings for render.

Set unique Query ID for 1st listing, than set the same Query ID as CSS ID for 2nd listing and as Query ID for JetEngine Query Builder query (if used)

image image image

This part is required to help JetSmartFilters plugin to understand what listing on the page should be filterable.

At the moment indication of selected items in the 1st listing you need to do manually, with help of CSS.To do this use .jet-listing-grid__item[is-checked="1"] as parent selector for items you want to change. Also for easier finding required items with CSS, will be better to add custom CSS class to the top level element of your listing item:

image

Example of such CSS

.jet-listing-grid__item[is-checked="1"] .main-properties-container {
    border-color: #111;
}

jet-engine-listing-as-filter's People

Contributors

mjhead avatar crocoblock avatar

Stargazers

 avatar Soczó avatar  avatar Paulo Guachizaca avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.