Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 10d 17h 07m 00s
Claim 50% off
Solved SP Page Builder Joomla 6 v6.10.0

Question: Dynamic Filter shows no Buttons option in Filter Properties

Asked by Gurney Environmental 1 month ago Last activity 1 month ago

I tried to add a Dynamic Filter to my Dynamic Collection Index page using the Category field to show which of 2 categories selected. In the documentation I see an option in the Filter Properties to use Buttons for the user interface to select which of 2 categories they want to see. However, as per the attached picture (sorry, guess there is no ability to attach a pdf showing the problem), I do not have an option for buttons available -- only Checkbox or Radio.

Is there something I need to do differently in order to use buttons? Thanks.

Accepted answer

Marked as the solution
Rashida Rahman Staff

Hi,

Thanks for reaching out.

The Filter Control Type options depend on the type of field you filter by. Your Category field is an Option field, and Option fields only support Checkbox and Radio. The Button control is available for Text and Title fields.

To show your two categories as buttons, filter by a Text field instead:

  1. Open your collection under Dynamic Content and add a Text field, for example "Category".
  2. Edit each item and type its category into the new field, for example "Category A" or "Category B". Type each value exactly the same on every item, because "Category A" and "category a" would show as two separate buttons.
  3. Edit the Dynamic Filter on your Index page and open the filter item. Then set:
    • Filter Model: Field-wise Filter
    • Field: your new Text field
    • Filter Layout: Flat
    • Filter Control Type: Button
  4. Click Apply, then save the page.

On the front end you'll get one button per category, with an item count next to it. Clicking a button shows only the matching items, and Reset shows all of them again.

Note: if you leave the filter's Title empty, the field's name is shown above the buttons. Give the field a clear name or fill in the Title.

Best regards,

Gurney Environmental Asked this

Thanks. That works.

I would like to suggest as a possible new feature for consideration the ability to use buttons to sort/select on an options filed. That would be soooooo much easier and much more accurate. Far less chance of a typo and more logical.

Again, thanks for the assistance.

Rashida Rahman Staff

You are always welcome. :)

Have a nice day!

Log in to reply.