Log message #901104

# At Username Text
# Jul 20th 2009, 14:38 ProLoser|Work my Category model, i may be confused as to what info you're asking for
# Jul 20th 2009, 14:38 Phally so do I
# Jul 20th 2009, 14:38 ProLoser|Work uh well, not an instance as in 'record' per se, i just mean the class
# Jul 20th 2009, 14:37 ProLoser|Work and also classregistry init
# Jul 20th 2009, 14:37 Phally and what instance would that be?
# Jul 20th 2009, 14:37 ProLoser|Work i've tried now both App::import('Model','Category');
# Jul 20th 2009, 14:37 ProLoser|Work but i can't get it to work
# Jul 20th 2009, 14:36 ProLoser|Work so i thought it was perhaps how i'm loading an instance of the model
# Jul 20th 2009, 14:36 ProLoser|Work went into the respective controller and it runs fine
# Jul 20th 2009, 14:36 ProLoser|Work trying to run generatetreelist in app_controller, and it's just not working
# Jul 20th 2009, 14:36 ProLoser|Work well perhaps i should explain my situation
# Jul 20th 2009, 14:36 Phally ProLoser|Work: or do you mean App::import?
# Jul 20th 2009, 14:35 Phally ~tell ProLoser|Work about understanding models
# Jul 20th 2009, 14:32 ProLoser|Work or load a model more specifically
# Jul 20th 2009, 14:32 ProLoser|Work what's the way to load a class without init?
# Jul 20th 2009, 14:29 alkemann wasnt the problem. got to tinker a little bit :)
# Jul 20th 2009, 14:28 gwoo alkemann: yeah it should be same order as in actsAs
# Jul 20th 2009, 14:21 alkemann my drafted is getting in the way of my revision..
# Jul 20th 2009, 14:21 alkemann behaviour are called in the order they are declared in the actsAsd right?
# Jul 20th 2009, 13:12 nicd ok
# Jul 20th 2009, 13:12 gwoo nicd: ask in #cakephp
# Jul 20th 2009, 13:12 nicd gwoo, i got it in config/routes.php file right
# Jul 20th 2009, 13:12 markstory alkemann: yeah, I guess it depends if you have to repeat that save() process anywhere.
# Jul 20th 2009, 13:12 nicd done
# Jul 20th 2009, 13:11 gwoo nicd: join #cakephp
# Jul 20th 2009, 13:11 alkemann markstory: imho the controller is still thin as long it is controller stuff spread over a few more lines
# Jul 20th 2009, 13:10 nicd how can i define the default page to load first
# Jul 20th 2009, 12:55 markstory or something with a less stupid name.
# Jul 20th 2009, 12:55 markstory so Article->saveBigTime()
# Jul 20th 2009, 12:55 markstory can always make a method that wraps up all the save() calls.
# Jul 20th 2009, 12:51 alkemann but maybe ur right that it would work
# Jul 20th 2009, 12:51 alkemann also need to set the pagenumber to 0 specifically
# Jul 20th 2009, 12:50 ADmad *too
# Jul 20th 2009, 12:50 ADmad ok.. though behaviors will run on ArticlePage is using saveAll to
# Jul 20th 2009, 12:49 alkemann the extra couple lines only makes the code more readable. no real benefit from using saveAll
# Jul 20th 2009, 12:48 alkemann making sure behaviours are run on the Article Page to create a revision
# Jul 20th 2009, 12:47 alkemann there was a reason i didnt do that.. hmm.
# Jul 20th 2009, 12:47 ADmad alkemann: can we/should we make saving Article and Intro atomic (ie saveAll) ?
# Jul 20th 2009, 12:46 alkemann hopefully it will help other developers see how it's intended to work and make sure they dont break it ;)
# Jul 20th 2009, 12:45 alkemann atm revision makes revisions when a page is accepte. i think changing the order in the model may fix it
# Jul 20th 2009, 12:45 markstory more of a functional / acceptance test.