On Wed, Apr 20, 2011 at 12:05 PM, Mr.Jayesh jayeshach...@gmail.com wrote:
Hi Mates,
Hope baking is in full swing.
I am coding a multi select box for categories. I am using Tree
Behavior for categories.
The thing I am up to is I don't want to allow users to select top
categories in the list. I mean the category is displayed as an
hierarchy, but I dont want the users to choose the top categories
(whose parent_id is 0) for posting an article.
Try Andy's TreeHelper:
http://bakery.cakephp.org/articles/AD7six/2008/01/24/tree-helper-1
It's a little bit complicated at first (was for me, anyway) but give
it a couple of reads and play around with it a bit. Make sure to
review all of the options available.
--
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+unsubscr...@googlegroups.com For more options, visit this group at
http://groups.google.com/group/cake-php