RSS Feed/News entity_post_save listener

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
26,835
Points
823

Reputation:

Hello
I'm listening to entity_post_save
event hint: XF\Entity\Node

I want to run a code if the node is created/edited in a specific category.

When the node is created directly in the category (1st depth) the code runs fine.
I'm a bit lost at triggering the code when the node is created in child-nodes of the same category.

I thought of using the 'breadcrumb_data' column, but it seems to be generated later, and the data in there is the old data from pre_save.
Am I wrong?
Is there a way to...

Read more

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