[RSS Feed/News] Getting new node ID in saveTypeData when creating new node?

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
I am extending \XF\Admin\Controller\Forum in my addon with a one-to-one relationship between a Item entity and node. I have the relationship defined in both my custom entity as well as the node through nodeEntityStructure in the listener.

When I extend saveTypeData() in \XF\Admin\Controller\Forum - I am having trouble figuring out how I can find the node ID so that I can save that in the Item entity table.

This is what I have:

Code:

protected function...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom