</>JoomCoder
JoomCCK Extended — Documentation

Filtering

Filters let visitors narrow a section by fields, categories, tags, authors and more. They appear in the JoomCCK Filters module or in the section's own filter bar.

Step 1: Enable Filtering on Fields

Edit a field and turn on Filter in its parameters. These field types can be filters:

Field type Filter styles
Text Autocomplete, checkboxes, select, text input, toggle links
Select, Checkbox, Radio, Multiple Select, List Auto Complete Autocomplete, checkboxes, select, toggle buttons
Boolean Yes/No
Digits Range slider
Date & Time Single date picker, range date picker
Address & Map (Extended) Distance and location
Status Checkboxes, select
Email, URL, Telephone Default
Parent, Child, Multilevel Select (Extended) Default

Step 2: Add the Filters Module

Go to Content > Site Modules > New > JoomCCK Filters.

Setting What it does
Section The section the filters apply to (required)
Text Search A search box at the top
Content Type filter No, checkboxes or select
Tags filter No, autocomplete, checkboxes, select or tag cloud
Users filter No, autocomplete, checkboxes or select
Categories filter No, autocomplete, checkboxes, select or multiple select
Show empty categories Turn off on large sites for speed
Show field icons Icons next to filter labels
Fields to exclude Fields you don't want in this module
Fields template Use each field's module or section filter template
Show Reset Button A button that clears all filters
Custom labels Your own labels for each filter group

Step 3: Choose the Style per Field

In each field's parameters pick the filter template. There are two: Module (used in the Filters module) and Section (used in the section's filter bar).

Filters Across Types

When a section holds several types, fields with the same Alias are merged into one filter. Example: a color field in Cars and in Motorbikes shows as one Color filter.

  • The alias is generated from the label if you leave it empty
  • It must be unique within one type (-2, -3 is added to duplicates)
  • Older fields without an alias are matched by label and field type

How Visitors Use Filters

  1. Choose values and click Search
  2. Active filters show as badges above the list; click x to remove one
  3. Reset clears them all

Several values in one filter are combined with OR. Different filters are combined with AND.

To link to a filtered list from a menu or an article, see Filter Links.