PageList filtering with Tags attributes
Permalink
Hi folks,
I want to display related content below my pages. I don't use Topics.
I prefer to use Tags since it's also more flexible for the final user.
But I need to aggregate content from more than one tag as once. (For example, I want pages tagged with "banana" or "orange").
This code isn't suitable since you can pass only one parameter at time.
Is there a way to pass an array?
or to join multiple filters results together?
Thanks in advance
Marc
I want to display related content below my pages. I don't use Topics.
I prefer to use Tags since it's also more flexible for the final user.
But I need to aggregate content from more than one tag as once. (For example, I want pages tagged with "banana" or "orange").
$this->list->filterByTags('banana');
This code isn't suitable since you can pass only one parameter at time.
Is there a way to pass an array?
or to join multiple filters results together?
Thanks in advance
Marc