Support Forum

Lars
Lars
Offline
Hello Ivo,

is it possible to add a filtering option to the Content PRO (Joomla) particle to filter the displayed articles by tags? I couldn't find such a field type in the gantry 5 documentation. I've tried this:


article.filter.tags:
type: joomla.tags
label: Tags
description: Select the article tags.
overridable: false


and


{# Tag Finder #}
{%set tag_options = filter.tags ? {id: [filter.tags|split(','), 0]} : {} %}
{% set tags = joomla.finder('tag', tag_options).published(1).language().limit(0).find() %}
Responses (7)
Sorry, but you are not allowed to view the replies here.
Your Reply

Become an insider | Subscribe to our Newsletter
Subscribe to our mailing list and stay up-to-date with all our awesome releases, latest updates and amazing discount offers!