# |
Sep 21st 2011, 13:44 |
dakota |
anyways, to directly answer your question, you'd need to switch to using joins/hasOne binds |
# |
Sep 21st 2011, 13:43 |
dakota |
small times |
# |
Sep 21st 2011, 13:43 |
dakota |
Doesn't look that bad |
# |
Sep 21st 2011, 13:43 |
Section58 |
cause its not so awesome for perforance |
# |
Sep 21st 2011, 13:43 |
Section58 |
how do i go about tidying that up |
# |
Sep 21st 2011, 13:43 |
dakota |
unfortunately |
# |
Sep 21st 2011, 13:43 |
dakota |
Section58: you can't really. It's just how containable works |
# |
Sep 21st 2011, 13:43 |
Section58 |
yeah er, 'if containable looks like that' |
# |
Sep 21st 2011, 13:42 |
dakota |
Section58: no, I seriously thought you were refering to the appearance of the sql dump, rather than the queries |
# |
Sep 21st 2011, 13:42 |
Section58 |
are you guys going to double team me again |
# |
Sep 21st 2011, 13:42 |
Section58 |
cayse those querys are not needed |
# |
Sep 21st 2011, 13:42 |
dakota |
Section58: by 'this' I thought you were referring to the sql dump :) |
# |
Sep 21st 2011, 13:41 |
Section58 |
ok, so, how can i stop contain from being so active? |
# |
Sep 21st 2011, 13:41 |
Section58 |
then i wouldn't beable to see it haha |
# |
Sep 21st 2011, 13:41 |
dogmatic69 |
Section58: that is not repeating, that is containable in action |
# |
Sep 21st 2011, 13:41 |
dakota |
Section58: remove $this->element('sql_dump'); from your layout |
# |
Sep 21st 2011, 13:40 |
franki |
thanks |
# |
Sep 21st 2011, 13:40 |
dakota |
~tell franki about debugKit |
# |
Sep 21st 2011, 13:40 |
Section58 |
http://bin.cakephp.org/view/818608412 How do i stop this repeating at the bottom ? |
# |
Sep 21st 2011, 13:40 |
daVinciWanaB |
incredibly easy to install - most people I talk to say they get it before starting any project |
# |
Sep 21st 2011, 13:39 |
daVinciWanaB |
yah |
# |
Sep 21st 2011, 13:39 |
franki |
what is it?a plugin? |
# |
Sep 21st 2011, 13:39 |
daVinciWanaB |
franki: it's amazing and will make debugging SO much more simple |
# |
Sep 21st 2011, 13:39 |
daVinciWanaB |
franki: definately DEFINATELY go get debugkit |
# |
Sep 21st 2011, 13:38 |
franki |
thanks a lot |
# |
Sep 21st 2011, 13:37 |
rchavik |
it'll dump all vars set by Controller::set() |
# |
Sep 21st 2011, 13:36 |
rchavik |
debug($this->viewVars) |
# |
Sep 21st 2011, 13:36 |
franki |
how can i check if view is getting the right data from controller? debug($this->var)? |
# |
Sep 21st 2011, 13:34 |
franki |
or maybe i did a bad action on form |
# |
Sep 21st 2011, 13:34 |
franki |
because the module works on its own |
# |
Sep 21st 2011, 13:34 |
franki |
there must be a problem with controller |
# |
Sep 21st 2011, 13:28 |
daVinciWanaB |
correct |
# |
Sep 21st 2011, 13:28 |
dogmatic69 |
that is just a cakeified plugin for tinymce |
# |
Sep 21st 2011, 13:28 |
daVinciWanaB |
morning |
# |
Sep 21st 2011, 13:28 |
daVinciWanaB |
dogmatic: https://github.com/CakeDC/TinyMCE |
# |
Sep 21st 2011, 13:28 |
TooMuchCaffeine |
morning |
# |
Sep 21st 2011, 13:27 |
dogmatic69 |
where do you see this? https://github.com/tinymce/tinymce/commits/master |
# |
Sep 21st 2011, 13:27 |
daVinciWanaB |
franki - might have to specify the action for your form |
# |
Sep 21st 2011, 13:27 |
daVinciWanaB |
oh - just last edited it? |
# |
Sep 21st 2011, 13:26 |
dogmatic69 |
Predominant did not make tinyMCE |
# |
Sep 21st 2011, 13:26 |
franki |
well the login module comes out,but when i type infos in it nothing happens,i guess its a redirection problem,or maybe it doesnt read the controller at all |