This repository has been archived by the owner on Jan 15, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
Culturefeed Search UI Block Custom Filters
Sven Houtmeyers edited this page Jan 11, 2016
·
4 revisions
The custom filter form blocks are three blocks that can be used to create extra filters on the [Culturefeed Agenda] search page (agenda/search).
Filter form
On the demo site this block is used to create the following filters (can be changed on the block edit page):
Human name | Querystring for drupal url | Filterquery for API |
---|---|---|
Free only | free-only | price:0 |
No courses and workshops | no-courses-workshops | !category_id:0.3.1.0.0 |
For toddlers | voor-kinderen | (agefrom:[* TO 12] OR keywords:"ook voor kinderen") |
Voor UiTPAS en Paspartoe | uitpas | (keywords:uitpas* OR Paspartoe) |
And placed in the 'primary sidebar' region.
Filter form 2
On the demo site this block is used to create the following filters (can be changed on the block edit page):
Human name | Querystring for drupal url | Filterquery for API |
---|---|---|
Hide long-running events | no-periods | periods:false |
Hide permanent events | no-permanent | permanent:false |
And placed in 'content' region just below the active filters block.
Filter form 3
This block is not enabled on the demo site but can be used to create extra filters, for example:
Human name | Querystring for drupal url | Filterquery for API |
---|---|---|
1 taalicoon | 1-taalicoon | (keywords:"één taalicoon") |
2 taaliconen | 2-taaliconen | (keywords:"twee taaliconen") |
3 taaliconen | 3-taaliconen | (keywords:"drie taaliconen") |
4 taaliconen | 4-taaliconen | (keywords:"vier taaliconen") |
Proudly presented by CultuurNet Vlaanderen, with help from 2dotstwice and Wunderkraut Belgium.