Elements
ZOOfilter auto categories elements into six groups, when an element is assigned to a form it will present options specific to it group.
Groups
Category
Option | Description |
---|---|
Default | Will render a Dropdown form field. |
Checkbox | Will render a Checkbox form field. |
Radio | Will render a Radio form field. |
Ajax | Is used for search in categories hierarchy. Will render a Dropdown form with parent categories list. When the category is selected, the second Dropdown form with sub-categories will be displayed. |
Date
Option | Description |
---|---|
Default | Will render a date Input form field. |
Range | Will render two date Inputs form fields for range searches. |
Input
Option | Description |
---|---|
Default | Will render a text Input form field. |
Range | Will render two text Inputs form fields for range searches. |
Option
Option | Description |
---|---|
Default | Will render a Dropdown form field. |
Checkbox | Will render a Checkbox form field. |
Radio | Will render a Radio form field. |
Rating
Option | Description |
---|---|
Select | Will render a Dropdown form field. |
Checkbox | Will render a Checkbox form field. |
Radio | Will render a Radio form field. |
Range | Will render two text Inputs form fields for range searches. |
Tag
Option | Description |
---|---|
Select | Will render a Dropdown form field. |
Checkbox | Will render a Checkbox form field. |
Radio | Will render a Radio form field. |
Custom Elements
In order for ZOOfilter to recognize a custom element it must be searchable and manually grouped:
- Open the custom element XML file and localize the
<element>
tag. - Add a
zfgroup
attribute with the appropriate group.
xml
<element zfgroup="input">`
...
</element>
Incompatible elements
The following elements are not compatible with ZOOfilter:
- Access
- Item Link
- State
- Author
- Edit
- Frontpage Enabled
- Previous/Next Link
- Comments Link
- Hits
- Searchable
- RelatedItems/Pro
- RelatedCategories/Pro
- Media/Pro
- Link/Pro
- Image/Pro
- GoogleMaps/Pro
- Download/Pro
- Gallery
- E-mail.
TIP
The Category element can be used instead of RelatedCategories/Pro.