Phoca Filter Options System Plugin version 6.2.2 has been released

Phoca Filter Options System Plugin version 6.2.2 has been released. Phoca Filter Options System Plugin 6.2.2 is a native Joomla 6 extension (no need to have Backward Compatibility plugin enabled).

Changelog:
Fix
  • Filtering of radio and checkbox fields in Joomla 6.2.1+
  • Buttons inside parameters were affected - now only tab buttons are hidden
  • Enter in the search box submitted the form
Addition
  • Small "go to field" button at the end of each result
  • "Back to search results" link after jumping to a parameter
  • Option "Include descriptions"
  • Search by field name (e.g. jform[params][show_title])
  • Diacritics and case insensitive search
  • Highlighted matches and "found in description / field name" note
  • Tab name with the number of results above each group
  • "Nothing found" message (the search box always stays visible)
  • Dark mode support
Change
  • Plugin rewritten to the Joomla 5/6 architecture (namespace, service provider, SubscriberInterface events, layout in tmpl/)
  • New search box design
  • Faster and lighter filtering (page indexed once, hiding done by CSS)
  • Joomla's own tab state is no longer modified by the filter
  • Minified JS included in the package
Note
  • BACKWARD COMPATIBILITY BREAK IN JOOMLA 6.2.1+

 

Joomla 6.2.1 changed the HTML markup of radio and checkbox form fields
(joomla-cms PR #48599, "Radio & Checkboxes Label and Legend [a11y]").
Radio and checkbox fields are <fieldset> elements. Until now they rendered
a <label> that pointed to the fieldset (which is not a labelable control)
together with a visually hidden <legend>. Since Joomla 6.2.1 the <label> is
replaced by <span id="...-lbl"> and the for="" attribute is removed.

Joomla 6.2.2 is a security-only release and does not change the markup
further.

Impact: any extension that finds field labels via <label> inside
.control-label no longer finds the label of radio and checkbox fields.
In this plugin, previous versions did not find these fields when
filtering parameters in the options (and in the edit views of the
supported components).

What this version does: the label is detected from the new markup
(<span id="...-lbl">) and from the old one (<label>). If neither exists,
the text of the whole .control-label column is used. The plugin therefore
works in Joomla 6.2.x and in earlier Joomla 6 versions.

For extension developers: do not rely on <label> inside .control-label for
radio and checkbox fields, and do not use label[for] to find the field
label (e.g. in custom scripts for subforms).

Upgrade note: the old file plugins/system/phocafilteroptions/
phocafilteroptions.php is not used anymore. Delete it after the update if
it remains in the folder.



If you find any bug or you have some feature request idea, please post it to Phoca Forum. Thank you.

 

 

Header image generated by Social Post Generator.

💡 Curious what your skills could earn online? Try the free Online Income Builder.