# |
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 |
# |
Sep 21st 2011, 13:26 |
daVinciWanaB |
tehtreag: oh - but it's made by predominant... sheesh - not sure I want to use it now ;) |
# |
Sep 21st 2011, 13:25 |
daVinciWanaB |
tehtreag: thanks for the info/link - i've heard of tinyMCE - forogt about it :) i will definately check it out |
# |
Sep 21st 2011, 13:25 |
daVinciWanaB |
frank: but you'll still need a login.ctp (or users/login.ctp) - if that's where the browse is directin |
# |
Sep 21st 2011, 13:24 |
daVinciWanaB |
franki: shouldn't have to, no |
# |
Sep 21st 2011, 13:24 |
daVinciWanaB |
dogmatic69: i also said "to replace textareas" |
# |
Sep 21st 2011, 13:24 |
franki |
do i have to delete the previous file? |
# |
Sep 21st 2011, 13:24 |
franki |
and moved the login.ctp to the element dir |
# |
Sep 21st 2011, 13:24 |
franki |
so i added $this->element('login') |
# |
Sep 21st 2011, 13:24 |
dogmatic69 |
daVinciWanaB: you asked for a text editor, not a wysiyg |
# |
Sep 21st 2011, 13:24 |
daVinciWanaB |
franki: you can just save it in the views/elements folder, then include it like: echo $this->element('whatever'); |
# |
Sep 21st 2011, 13:23 |
franki |
i wanted to use it as element |
# |
Sep 21st 2011, 13:23 |
daVinciWanaB |
dogmatic69: i assume you're joking |
# |
Sep 21st 2011, 13:23 |
franki |
i made a login module |
# |
Sep 21st 2011, 13:23 |
daVinciWanaB |
fraki: what do you mean "how to use"? |
# |
Sep 21st 2011, 13:23 |
dogmatic69 |
daVinciWanaB: $this->Form->input('foo', array('type' => 'textarea')); is about as simple as it gets |
# |
Sep 21st 2011, 13:23 |
franki |
and they work if taken singularly |
# |
Sep 21st 2011, 13:23 |
TehTreag |
wysiwyg? tinymce https://github.com/CakeDC/TinyMCE |
# |
Sep 21st 2011, 13:22 |
franki |
anyone have some good guide on how to use elements?i've added few modules that i wanted into a single page but they dont work there |
# |
Sep 21st 2011, 13:22 |
daVinciWanaB |
any thoughts on the best simple text editor (to replace textareas) |
# |
Sep 21st 2011, 13:22 |
dogmatic69 |
yes |
# |
Sep 21st 2011, 13:22 |
asmerkin |
is a good practice to override the pages_controller with my own logic? |
# |
Sep 21st 2011, 13:21 |
dogmatic69 |
!tell asmerkin about apilookup controller layout |
# |
Sep 21st 2011, 13:21 |
pur3forlyphe |
working tehtreag cheers |
# |
Sep 21st 2011, 13:20 |
asmerkin |
dogmatic69: i know html, thanks! |
# |
Sep 21st 2011, 13:20 |
asmerkin |
layout and that stuff |
# |
Sep 21st 2011, 13:20 |
asmerkin |
i mean, to setup certain parameters to static pages |