Thursday, December 15, 2011

Re: How to get all children of a parent if parent_id field is null

> I wrote the tree behavior. there's nothing wrong with having multiple
> top level nodes (and it doesn't say or imply that in the docs either).
>
> Use whatever helper or loop you want.
>
> e.g. this onehttp://bakery.cakephp.org/articles/AD7six/2008/01/24/tree-helper-1
> this onehttps://github.com/AD7six/mi/blob/master/views/helpers/menu.php
> this onehttp://www.flipflops.org/2009/09/29/cakephp-menu-helper-for-tree-data/

i try all this tut before...but i don't found any example to how to
use this..please AD7six..help me..i was tired from searching and
asking..none help me to do this task..i build many tasks..registration
user , how to use Tinymce ,relate between articles and comments,,,but
the only task i cant understand or know how to do it,,this task((build
menus from categories and sub categories))..so please help me with one
simple example..i hope that..

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate