Page 281 of 211,262, showing 20 records out of 4,225,228 total, starting on record 5,601, ending on 5,620
# | Username | Text | |
---|---|---|---|
# | Aug 8th 2008, 14:19 | teknoid | CrazyTux[m]: and also you don't need $uses (or at least not all of it), if you are using containable and have related models ther |
# | Aug 8th 2008, 14:19 | teknoid | CrazyTux[m]: take a look at the manual |
# | Aug 8th 2008, 14:19 | TommyO | I'm afraid to ask what a MainController does exactly... |
# | Aug 8th 2008, 14:19 | teknoid | ^^^ indeed |
# | Aug 8th 2008, 14:20 | CrazyTux[m] | ? |
# | Aug 8th 2008, 14:20 | TommyO | CrazyTux[m]: this controller is riddled with problems |
# | Aug 8th 2008, 14:20 | TommyO | what are you indexing here? |
# | Aug 8th 2008, 14:20 | CrazyTux[m] | Why is it when I remove the $uses = array('Therapy') bit it is no longer "included" yet you guys say I do not need to reference it? |
# | Aug 8th 2008, 14:21 | TommyO | CrazyTux[m]: why not have this in a TherapiesController? |
# | Aug 8th 2008, 14:21 | TommyO | or a ConitionsController |
# | Aug 8th 2008, 14:21 | CrazyTux[m] | TommyO, those two controllers exists, however this is the "main page" default, and I'm trying to show some info on it |
# | Aug 8th 2008, 14:22 | teknoid | CrazyTux[m]: you probably need only one model there if the other two are related to it... still why not make a main page in TherapiesController? |
# | Aug 8th 2008, 14:22 | CrazyTux[m] | teknoid, this is the homepage. |
# | Aug 8th 2008, 14:23 | teknoid | CrazyTux[m]: and? |
# | Aug 8th 2008, 14:23 | CrazyTux[m] | teknoid, why not make it any other? |
# | Aug 8th 2008, 14:23 | CrazyTux[m] | teknoid, why does this matter? |
# | Aug 8th 2008, 14:23 | TommyO | why not is not as good a question as why? |
# | Aug 8th 2008, 14:24 | CrazyTux[m] | TommyO, ok now your confusing me :) |
# | Aug 8th 2008, 14:24 | TommyO | CrazyTux[m]: in any case $uses is an override. you wouldn't need it if you used one of the real controllers |
# | Aug 8th 2008, 14:24 | teknoid | CrazyTux[m]: because you are bending rules, loading extra objects and setting yourself for problems down the road (if you don't do things correctly to begin with) |