Page List Block : Filiter Pages with Tags

Permalink
In concrete 5.7.2 , In pages list block, Is it possible to filter page with tags ?
And if not, how can i add it as filter in Page list block ?

srjahir32
View Replies:
MrKDilkington replied on at Permalink Reply
MrKDilkington
Hi srjahir32,

One approach to add filtering by tags is with a page list block custom template.

Here is information for custom block templates.
http://www.concrete5.org/documentation/developers/5.7/working-with-...

This is the documentation for working with page lists.
http://www.concrete5.org/documentation/developers/5.7/working-with-...

You will want to filter by attribute.

Example:
$list->filterByTags('monkeys');

- filter pages by the Tag "monkeys"
srjahir32 replied on at Permalink Reply
srjahir32
What if i have multiple tags ? Will it allow me to choose tags from the list ?
srjahir32 replied on at Permalink Reply
srjahir32
What if i have multiple tags ? Will it allow me to choose tags from the list ?