امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
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
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
