Hi Mates,
First off all, I would like to thank this group for being of great
support.
Guys, as in my project I was trying to display category list inside
select box. I am using Tree List, so what I have in my table is:
| id | category | parent_id |
Currently I am using generatetreelist()
if you are using Tree Behaviour the you need to use lft and rght field
and it will create an array based on this values...:)
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2011/4/16 Mr.Jayesh jayeshach...@gmail.com
Hi Mates,
First off all, I would like to thank this group for being of
Hi Jayesh,
In the case of a Tree behaviour, the algorithm used to generate the
tree is based on ordering, its not very trivial to use ordering on the
regular sense on the tree, and maintain its structure at the same
time.
CakePHP's specific implemtation of this algorithm aside, one would
.nabble.com/Any-Solution-to-Order-a-generatetreelist-output-tp4308116p4308453.html
Sent from the CakePHP mailing list archive at Nabble.com.
--
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