This is very stupid, I am very new to this tool but have been making pages for 10 years.
I have successfully embedded the CKEditor instance in a php page. My site does not run on a database. It is all includes.
After I press 'submit', where does the posted content go? How do I see it in a page? I don't understand, and there is no info in the documentation. If you could just tell me where to find the next piece of info, I'd be on my way.
I have successfully embedded the CKEditor instance in a php page. My site does not run on a database. It is all includes.
After I press 'submit', where does the posted content go? How do I see it in a page? I don't understand, and there is no info in the documentation. If you could just tell me where to find the next piece of info, I'd be on my way.

Re: How do I access the content created in the editor?
Are you sure you read the documentation?
On the integration page there is even a php example:
If clientside is your game, there's an example for that too:
Of course, both of those assume your editor instance is named "editor1", but should be easy enough to generalize.
Re: How do I access the content created in the editor?
Re: How do I access the content created in the editor?
index.html
<html> <head> <title>Javascript Example</title> <!--Import the ckeditor.js from whatever folder ckeditor is located in--> <script src="ckeditor/ckeditor.js" type="text/javascript"></script> </head> <body> <!--This is the textarea we will be replacing with a CKEditor instance--> <textarea name="editor1"></textarea> <!--This button, when clicked, displays an alert with the editor's current data--> <input type="button" value="Click for Data" onclick="alert(CKEDITOR.instances.editor1.getData());" /> <script type="text/javascript"> window.onload = function () //when window fully loads.... { //....replace the textarea named editor1 with a CKEditor instance CKEDITOR.replace("editor1"); }; </script> </body> </html>PHP Example:
index.php
<html> <head> <title>PHP Example</title> <!--Make a script reference to the ckeditor.js file--> <script type="text/javascript" src="ckeditor/ckeditor.js"></script> </head> <body> <!--set up your form with--> <form method="post" action="action.php"> <!--create textarea to be replaced--> <textarea name="editor1"></textarea> <!--submit btn to post data--> <input type="submit" value="Submit Post" /> </form> <script type="text/javascript"> //on full load of the window... window.onload = function() { //....replace the textarea with name 'editor1' CKEDITOR.replace("editor1"); }; </script> </body> </html>action.php
Re: How do I access the content created in the editor?
Read http://alfonsoml.blogspot.com/2009/08/u ... sites.html
As a summary: first create your system with a textarea (lots of tutorials on the web) and when you have that part ready, the turn it into a CKEditor instance.
Re: How do I access the content created in the editor?