Re: Tree Behaviour in Component

2009-05-07 Thread ixopo
This works Thank you so much greetingz ixopo --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group,

Tree Behaviour in Component

2009-05-06 Thread ixopo
Hello everybody, i am really desperate. I wrote a SEO Component which automatically tries to read SEO Relevant Tags from the Database like Title, Keywords, Description and even the URL. Works great so far. But for Categories i want to have the whole CategoriePath for the Title (for Example

Re: Tree Behaviour in Component

2009-05-06 Thread brian
Does the model implement TreeBehavior? I think this should work: $var_model = $this-Controller-modelClass; if (!empty($data[$var_model]['parent_id'])) { $id = $data[$var_model]['id']; $parent_id = $data[$var_model]['parent_id']; $path =