# |
Sep 12th 2009, 12:49 |
sky_l3ppard |
pearcec, it is in $model->Behaviors->attached(); |
# |
Sep 12th 2009, 12:48 |
pearcec |
Do I have to load it somehow? |
# |
Sep 12th 2009, 12:48 |
pearcec |
when I dump the model the actAs is not being set. |
# |
Sep 12th 2009, 12:46 |
pearcec |
dogmatic69: http://www.pastie.org/614775 |
# |
Sep 12th 2009, 12:46 |
pearcec |
where is the paste? |
# |
Sep 12th 2009, 12:45 |
pearcec |
~help |
# |
Sep 12th 2009, 12:45 |
pearcec |
~ |
# |
Sep 12th 2009, 12:45 |
pearcec |
~paste |
# |
Sep 12th 2009, 12:45 |
pearcec |
~ pastebin |
# |
Sep 12th 2009, 12:44 |
pearcec |
dogmatic69: yes |
# |
Sep 12th 2009, 12:43 |
dogmatic69 |
are you trying it via shell |
# |
Sep 12th 2009, 12:42 |
pearcec |
yes |
# |
Sep 12th 2009, 12:42 |
dogmatic69 |
pearcec: does it have actsAs => 'Tree' |
# |
Sep 12th 2009, 12:42 |
dogmatic69 |
charnel: $form->input( 'some_field', array( 'onchange' => 'someFunction();' ) ); |
# |
Sep 12th 2009, 12:37 |
pearcec |
I load the model and it doesn't seem to have the function available to it. |
# |
Sep 12th 2009, 12:37 |
pearcec |
I want to call the Tree->recover function on a Model. |
# |
Sep 12th 2009, 12:37 |
pearcec |
is it possible to call a behavior function from the shell? |
# |
Sep 12th 2009, 12:34 |
charnel |
how can i add a onchange() to a form element ? |
# |
Sep 12th 2009, 12:18 |
savant |
use a pound server if you need multiple databases :) |
# |
Sep 12th 2009, 12:12 |
jrod |
you can set the datasource per model |
# |
Sep 12th 2009, 12:11 |
jrod |
at least not from what i've tried |
# |
Sep 12th 2009, 12:11 |
jrod |
yes it can but you cant span your relationships across them |
# |
Sep 12th 2009, 12:11 |
dakota |
don't think cake supports multiple databases |
# |
Sep 12th 2009, 12:10 |
juandelacosa |
i need cerate one relation in several model with multiples databases |
# |
Sep 12th 2009, 12:09 |
dakota |
Then either there is something wrong with your mod_rewrite, or .htaccess isn't allowe |
# |
Sep 12th 2009, 12:08 |
Spirit |
same error with 1.2 |
# |
Sep 12th 2009, 12:08 |
dakota |
juandelacosa: ? |
# |
Sep 12th 2009, 12:08 |
Spirit |
argh |
# |
Sep 12th 2009, 12:01 |
juandelacosa |
who create one relation the multiple databases in one model?? |
# |
Sep 12th 2009, 12:00 |
juandelacosa |
good day |
# |
Sep 12th 2009, 11:59 |
Spirit |
D |
# |
Sep 12th 2009, 11:59 |
Spirit |
see you later |
# |
Sep 12th 2009, 11:59 |
Spirit |
tx a lot |
# |
Sep 12th 2009, 11:58 |
Spirit |
i try with stable version |
# |
Sep 12th 2009, 11:58 |
dakota |
but all the documentation is for 1.2.x |
# |
Sep 12th 2009, 11:57 |
dakota |
unless you really want to :) |
# |
Sep 12th 2009, 11:57 |
Spirit |
i must use stable ver |
# |
Sep 12th 2009, 11:57 |
Spirit |
ops 1.3-dev |
# |
Sep 12th 2009, 11:57 |
Spirit |
umpf :-| |
# |
Sep 12th 2009, 11:57 |
dakota |
ya, 1.3 is still very unstable |
# |
Sep 12th 2009, 11:56 |
Spirit |
yep |