# |
Aug 9th 2008, 06:42 |
zeen |
is it possible i can code my own cake bake scripts? |
# |
Aug 9th 2008, 06:41 |
golak |
thanks Mickey689 |
# |
Aug 9th 2008, 06:41 |
golak |
got it |
# |
Aug 9th 2008, 06:41 |
golak |
should i set it in the controller or inside the model |
# |
Aug 9th 2008, 06:37 |
Mickey689 |
golak: you can set it beforehand, $this->Model->recursive = -1 for example |
# |
Aug 9th 2008, 06:35 |
golak |
How can i specify the recursive value for Model->findby<fieldname>() ??? |
# |
Aug 9th 2008, 06:28 |
Mickey689 |
thanks :) |
# |
Aug 9th 2008, 06:28 |
jan_cr |
Is there any Translate behavior tutorial on the internet? There is empty section in the book covering this topic and I am unable to google anything |
# |
Aug 9th 2008, 06:28 |
skua |
try |
# |
Aug 9th 2008, 06:28 |
skua |
it will show a debug to 0 |
# |
Aug 9th 2008, 06:28 |
skua |
then when it arrive to your specific action |
# |
Aug 9th 2008, 06:28 |
skua |
it's will set debug to 2 |
# |
Aug 9th 2008, 06:27 |
skua |
no cause cakephp read your core.php |
# |
Aug 9th 2008, 06:27 |
Mickey689 |
skua, thanks, but will it affect the whole site though? |
# |
Aug 9th 2008, 06:27 |
Mickey689 |
skua, thanks, but will it affect the whole site after that statement? |
# |
Aug 9th 2008, 06:26 |
skua |
in your foo action for example |
# |
Aug 9th 2008, 06:26 |
skua |
where you need the debug to 0 :) |
# |
Aug 9th 2008, 06:26 |
skua |
Configure::write('debug', 0); |
# |
Aug 9th 2008, 06:26 |
Mickey689 |
anyone knows how to do this? |
# |
Aug 9th 2008, 06:25 |
Mickey689 |
let i have my whole site debug mode set to 2 but..for some reason, i need to set the debug page on foo.ctp to be 0 |
# |
Aug 9th 2008, 06:25 |
Mickey689 |
anyone knows how to set the debug mode on a particular page? |
# |
Aug 9th 2008, 06:24 |
Mickey689 |
hi everyone :).. |
# |
Aug 9th 2008, 06:09 |
TheBig |
is there a way to have a $javascript->codeBlock() be shown in HEAD section? |
# |
Aug 9th 2008, 06:08 |
foxmask |
except simpletest what can we use with cakephp ? |
# |
Aug 9th 2008, 06:07 |
foxmask |
the link of sf.net is broken ; cant dl it |
# |
Aug 9th 2008, 06:07 |
foxmask |
does someone use SimpleTest ? |
# |
Aug 9th 2008, 05:55 |
skua |
ye :) |
# |
Aug 9th 2008, 05:55 |
Howard`` |
not sure what you mean achew22 |
# |
Aug 9th 2008, 05:55 |
Howard`` |
if you're running RC2, a lot of the model stuff has been reformed and the former items which only performed queries on 1 row handle everything now |
# |
Aug 9th 2008, 05:55 |
achew22 |
is it possible to get some kind of SQL out from a shell task? |
# |
Aug 9th 2008, 05:54 |
skua |
D |
# |
Aug 9th 2008, 05:54 |
skua |
I thinked that del was only for one item |
# |
Aug 9th 2008, 05:54 |
Howard`` |
yw :D |
# |
Aug 9th 2008, 05:54 |
skua |
thank a lot ! |
# |
Aug 9th 2008, 05:54 |
skua |
ah yeah that work's ! |
# |
Aug 9th 2008, 05:54 |
Howard`` |
should delete those ids |
# |
Aug 9th 2008, 05:54 |
Howard`` |
then just $this->Model->del |
# |
Aug 9th 2008, 05:54 |
Howard`` |
well you can just set the model ID in cake with $this->Model->id = $ids |
# |
Aug 9th 2008, 05:53 |
skua |
you mean Model->del($ids) ? |
# |
Aug 9th 2008, 05:53 |
Howard`` |
you could just use $this->Model->del actually i think |
# |
Aug 9th 2008, 05:53 |
Howard`` |
I've never done it with an array but i'd imagine it would work the same |