But in this code, you presuppose that I have a "default" group (with id=5 in your particular case)... If I haven't a default group... what should I return in this case?
Thank you! :) 2011/7/1 krisspnet <[email protected]> > Well, it might be possible that the problem comes from your models : > > Your Model for group return 'null' for the parent_node function, it should > be the problem. > > An out of topic thing, which will cause a problem during a "User Edit", you > didn't code an aftersave function allowing tables to be updated in case of > edition. > > Take a look at this code http://pastebin.com/Zvz79VDa here , it will be > better than more explanations. > > -- > View this message in context: > http://cakephp.1045679.n5.nabble.com/I-can-t-create-AROS-automatically-and-I-don-t-know-why-tp4541318p4541423.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 with their CakePHP related questions. > > > To unsubscribe from this group, send email to > [email protected] For more options, visit this group > at http://groups.google.com/group/cake-php > -- - Per la llibertat del coneixement - - Per la llibertat de la ment... - -- 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 [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
