# |
Sep 13th 2009, 09:56 |
mr_pinc |
ok so my model is Testimonial and that has a field called ' |
# |
Sep 13th 2009, 09:55 |
savant |
make sure the array is exactly as it should be |
# |
Sep 13th 2009, 09:54 |
savant |
if that is empty or non-existent, well then we have issues |
# |
Sep 13th 2009, 09:54 |
mr_pinc |
yeah i do. |
# |
Sep 13th 2009, 09:54 |
savant |
one of them should be "this->data" |
# |
Sep 13th 2009, 09:54 |
savant |
you should be able to see the data available to you |
# |
Sep 13th 2009, 09:54 |
savant |
if the panel doesn't open, click it |
# |
Sep 13th 2009, 09:54 |
mr_pinc |
k |
# |
Sep 13th 2009, 09:54 |
savant |
okay now go to the right-most tab thing in the toolbar |
# |
Sep 13th 2009, 09:53 |
mr_pinc |
looks like it i see the tool bar. this plugin is sick |
# |
Sep 13th 2009, 09:53 |
savant |
and it works properly? |
# |
Sep 13th 2009, 09:52 |
mr_pinc |
ok installed |
# |
Sep 13th 2009, 09:50 |
savant |
http://thechaw.com/debug_kit/versions |
# |
Sep 13th 2009, 09:50 |
savant |
one sec |
# |
Sep 13th 2009, 09:50 |
mr_pinc |
there a way to get it without git, like in a zip? |
# |
Sep 13th 2009, 09:49 |
savant |
http://thechaw.com/debug_kit |
# |
Sep 13th 2009, 09:49 |
savant |
it's a plugin |
# |
Sep 13th 2009, 09:49 |
savant |
can you install it? |
# |
Sep 13th 2009, 09:49 |
mr_pinc |
i guess not |
# |
Sep 13th 2009, 09:48 |
savant |
mr_pinc: do you have debug_kit? |
# |
Sep 13th 2009, 09:48 |
mr_pinc |
But it's weird because it only happens with some records not all |
# |
Sep 13th 2009, 09:47 |
mr_pinc |
Hey guys I'm having a weird issue when I read a Models data and populate form info in my Edit view, for some records the form does not display the currently set data, even though I know the correct info has been entered into the view |
# |
Sep 13th 2009, 09:38 |
nini |
nice |
# |
Sep 13th 2009, 09:38 |
HardPhuck |
with unset |
# |
Sep 13th 2009, 09:38 |
HardPhuck |
doing two saves now |
# |
Sep 13th 2009, 09:38 |
HardPhuck |
nini, thanks got it working |
# |
Sep 13th 2009, 09:35 |
Miroslav_Vojtu |
ok thx :-D |
# |
Sep 13th 2009, 09:34 |
nini |
Miroslav_Vojtu: just try it and debug it, u will see then |
# |
Sep 13th 2009, 09:34 |
Miroslav_Vojtu |
normaly $this->Option->find..... ? |
# |
Sep 13th 2009, 09:33 |
Miroslav_Vojtu |
and how to acces hero to Option model?: |
# |
Sep 13th 2009, 09:33 |
nini |
Miroslav_Vojtu: Configure::write(); sets also arrays |
# |
Sep 13th 2009, 09:32 |
Miroslav_Vojtu |
I need to set it from DB.... i have options table and i need to preset (in appController beforeFilter() or somewhere on application start) them to def constants |
# |
Sep 13th 2009, 09:30 |
markstory |
or constants |
# |
Sep 13th 2009, 09:30 |
nini |
Miroslav_Vojtu: then read it with Configure::read('defColor'); |
# |
Sep 13th 2009, 09:29 |
nini |
Miroslav_Vojtu: use Configure::write('defColor', 'blue'); in your bootstrap.php |
# |
Sep 13th 2009, 09:28 |
Miroslav_Vojtu |
please how to set global wariables like $this->deafaultColor = blue.... accesable in every model and controller |
# |
Sep 13th 2009, 09:26 |
GustavoRamos |
yep, markstory: i've noted it too |
# |
Sep 13th 2009, 09:25 |
markstory |
it still says 1.2.4 |
# |
Sep 13th 2009, 09:25 |
markstory |
the console version number is wrong on 1.2.5 |
# |
Sep 13th 2009, 09:22 |
winegoddess |
okay - so i will updgrade! :) |
# |
Sep 13th 2009, 09:22 |
winegoddess |
nini: i see this: Welcome to CakePHP v1.2.4.8284 Console |