# |
Aug 8th 2008, 14:23 |
CrazyTux[m] |
teknoid, why not make it any other? |
# |
Aug 8th 2008, 14:23 |
teknoid |
CrazyTux[m]: and? |
# |
Aug 8th 2008, 14:22 |
CrazyTux[m] |
teknoid, this is the homepage. |
# |
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: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:21 |
TommyO |
or a ConitionsController |
# |
Aug 8th 2008, 14:21 |
TommyO |
CrazyTux[m]: why not have this in a TherapiesController? |
# |
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:20 |
TommyO |
what are you indexing here? |
# |
Aug 8th 2008, 14:20 |
TommyO |
CrazyTux[m]: this controller is riddled with problems |
# |
Aug 8th 2008, 14:20 |
CrazyTux[m] |
? |
# |
Aug 8th 2008, 14:19 |
teknoid |
^^^ indeed |
# |
Aug 8th 2008, 14:19 |
TommyO |
I'm afraid to ask what a MainController does exactly... |
# |
Aug 8th 2008, 14:19 |
teknoid |
CrazyTux[m]: take a look at the manual |
# |
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 |
CrazyTux[m] |
teknoid, I changed referencing it from Model.property, to just property, and same issue, any more references/documents on Containable, I'm looking at the API. |
# |
Aug 8th 2008, 14:18 |
teknoid |
CrazyTux[m]: i told you earlier, that you are not using Containable correctly |
# |
Aug 8th 2008, 14:18 |
CrazyTux[m] |
Model B: http://pastebin.com/d73d5bd5d |
# |
Aug 8th 2008, 14:18 |
CrazyTux[m] |
Model A: http://pastebin.com/d6107e476 |
# |
Aug 8th 2008, 14:18 |
CrazyTux[m] |
Controller: http://pastebin.com/d3142a30c |
# |
Aug 8th 2008, 14:18 |
CrazyTux[m] |
teknoid, AD7six any ideas on why I'd get Model "Therapy" is not associated with model "id" when using ContainableBehavior? |
# |
Aug 8th 2008, 14:17 |
freebox2 |
TommyO: findBySlug() have $recursive? |
# |
Aug 8th 2008, 14:15 |
linked_ |
teknoid: hmmm..ok, i'll check it out. thanks. |
# |
Aug 8th 2008, 14:14 |
TommyO |
haha! |
# |
Aug 8th 2008, 14:13 |
AD7six |
how about as the answer to this TommyO "what happens if I unplug this cable?" |
# |
Aug 8th 2008, 14:12 |
TommyO |
don't say "try" if the U.S. President calls you and asks: "What happens if I press this red button?" |
# |
Aug 8th 2008, 14:11 |
AD7six |
TommyO: :). I have two answers "what's your best guess" and "try" |
# |
Aug 8th 2008, 14:11 |
TommyO |
freebox2: did you properly get that info in your find() ? |
# |
Aug 8th 2008, 14:11 |
teknoid |
linked_: have you looked at test cases? |
# |
Aug 8th 2008, 14:09 |
freebox2 |
I need some help: http://bin.cakephp.org/view/1972408233 at line 50 i need to do something like $comentario['Usuario']['nome']; but dosent work |
# |
Aug 8th 2008, 14:08 |
TommyO |
and assume that your understanding of Brian is solid |
# |
Aug 8th 2008, 14:08 |
TommyO |
AD7six: haha. if you asked me that my answer(of course) would be: "if you had to guess, what would your guess be?" |
# |
Aug 8th 2008, 14:07 |
linked_ |
i'm lost how to construct it with xml helper. |
# |
Aug 8th 2008, 14:07 |
AD7six |
TommyO: what about: "What Would Brian Boitano do?" |
# |
Aug 8th 2008, 14:05 |
linked_ |
sorry, i'm really confused with the xml helper, what i want to achieve is this http://pastebin.com/m25e8372c |
# |
Aug 8th 2008, 14:05 |
TommyO |
I think my answer from now on wil be: 'if you had to guess, what would your guess be?' to all "how do I...?" questions |
# |
Aug 8th 2008, 14:04 |
AD7six |
tom_mk: worked as written or did you change it (out of curiosity) |
# |
Aug 8th 2008, 14:03 |
tom_mk |
thx so muchhh |
# |
Aug 8th 2008, 14:03 |
TommyO |
lqdice____: not cheating. I really have 10 questions ;) |
# |
Aug 8th 2008, 14:03 |
tom_mk |
AD7six : works now |
# |
Aug 8th 2008, 14:03 |
NOSLOW |
If MySQL, use InnoDB tables instead of MyISAM |