Firstly, thanks for your feedback, but I'm getting this error?

Fatal error: Call to undefined method stdClass::findAllThreaded() in C:
\wamp\www\cake\app\controllers\nodes_controller.php on line 45

Am I missing something here?

Cheers.

On Feb 24, 1:30 pm, "Eric C Blount" <[EMAIL PROTECTED]> wrote:
> The following helped me when I was setting up something like this:
>
>     $this->Category->recursive = 0;
>     $this->set('category_tree', $this->Category->findAllThreaded(null,
> array('id','parent_id','name'),'parent_id, name'));
>
> It'll give you a multidimensional array based on parent_id. You could also
> use something like this to find parent nodes of an article.
>
> HTH,
> Eric
>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to