Forums / Developer / Get the new node_id / Comment44025

Author Topic

Roy Bøhmer

Wednesday 31 August 2005 1:08:02 pm

Comment44025

Thank you, Kristof!
I hoped there would be a solution where I could avoid another fetch, but your suggestion seems to be the solution.
Since I know the new nodes always will be the main nodes I might use the code

$nodeID=$contentObject->mainNodeID();

I found this function after I did the original post.

Again, thank you!

Roy