Thanks for the reply, Brian. Peculiarly, Rumpelstiltskin seems to have
been working over the weekend as this now functions.
For anybody else's reference, the syntax is:
$this->Node->removeFromTree($id,true); // deletes parent and moves
children up one level.
or
$this->Node->removeFromTre
How are you calling the method in your controller (or model)?
On Fri, Oct 9, 2009 at 10:28 AM, leo wrote:
>
> I'm using tree behaviour and want to remove a node from the tree
> without deleting its children.
>
> I'm having trouble getting this to work. The manual says
> 'removeFromTree()' and li
I'm using tree behaviour and want to remove a node from the tree
without deleting its children.
I'm having trouble getting this to work. The manual says
'removeFromTree()' and little else. It seems from the few snippets I
googled that it takes id as a parameter. Logical, but does nothing.
The AP