• هاست سان
  • با خرید اشتراک ویژه شما میتوانید جدیدترین آپدیت افزونه ها و قالب های زیبا و پرکاربرد زنفورو را دریافت کنید!

    هر ماه یک کد تخفیف 60 درصدی محصولات فروشگاه به کاربران منتخب بخش ویژه اهدا می‌شود

entity_post_save listener

وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.

XFFA.IR Bot

پرسنل مدیریت
کاربر ویژه پلاس
کاربر ویژه طلایی
امتیازها 113
راه‌حل‌ها 27
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
 
امضا : XFFA.IR Bot
وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.

موضوعات مشابه

عقب
بالا