This post has been marked as spam

PageList filtering with Tags attributes

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

View Replies:
weyboat replied on at Permalink Reply
Completely untested but how about
$this->list->filterByTags('banana' || 'orange');