RSS Feed/News Trending content, Display condition, exclude node

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
24,499
Points
823

Reputation:

Hi,

I would like to ignore 3 notes, data-container-key (html): node-18, node-28, node-2
I tried filtering but it didn't work ( example from @Old Nick )

Edit widget: Trending content > Display condition: in_array($xf.reply.containerKey, ['node-2'])
I used this just to test, but the widget doesn't show up, I thought it would display the node topic.
(without any filter, displays topic of node 2)

then I would use it like this:
!in_array($xf.reply.containerKey...

Read more

Continue reading...
 
Status
Not open for further replies.
Top