Hello.
I have a fully php generated website. Even text areras are generated using php in a file called form.php
I just came back from TinyMCE which is very easy to integrate, but is also very buggy . It also inserts paragraphs instead of br's when pressing enter, which is contrary to normal user behaviour on the web.
But I have no clue how to insert the javascript for CKE in my website.
I know that the textarea names are "bericht". I tried it myself, but then my entire page disappears.
I have a fully php generated website. Even text areras are generated using php in a file called form.php
I just came back from TinyMCE which is very easy to integrate, but is also very buggy . It also inserts paragraphs instead of br's when pressing enter, which is contrary to normal user behaviour on the web.
But I have no clue how to insert the javascript for CKE in my website.
I know that the textarea names are "bericht". I tried it myself, but then my entire page disappears.
function form_textarea($name, $value, $preview=""){ if($preview <> ""){ echo ' <script type="text/javascript"> function to_preview_bericht_ajax(){ var value = document.getElementById(\''.$name.'\').value; preview_bericht_ajax(value); } </script> '; $preview = 'onkeyup="preview_bericht()" onchange="to_preview_bericht_ajax()"'; } $form = '<textarea class="text" name="'.$name.'" id="'.$name.'" COLS="50" ROWS="10" '.$preview.'>'.$value.'</textarea>'; return $form;
Re: Integrating CKE in to php
Re: Integrating CKE in to php
I am sorry I missed those, but the documentation is a maze to me :$ I'm not a pro coder, but we've been ripped of by our previous coder so we can't hire another one as we don't make any money.`
Could you tell me where exactly to find this as I might want to try and do this myself.
Re: Integrating CKE in to php