I am having the same problem. How do I begin to edit a page on my website? I installed ckeditor in the root of my site. To test the editing I copied a sample page to the _samples directory and opened it. But all I see is the page, no editor.
Unfortunately nowhere in your docs does it say how to open a page for editing.
I've done all that and the sample page loads just like it should.
Now how do I edit one of the real pages in my website? I copied a page from my site to the .../_samples directory. Pointed my browser(Firefox) at it and loads the page but no toolbar with which to edit it.
You're just repeating what we've already read and referenced.
I downloaded that file, extracted the files. There is no _samples/index.html folder.
The localhost/ckeditor returns the same samples on the nightly page you mention. But they do not answer my question. For example, "create ckeditor instances in php" does not bring me to the editing interface. It just opens a simple webpage with a text area and a submit button. But that's not what I'm looking for. There's not even any explanation of what that does when I hit the submit button. It certainly doesn't create any formatted html on the web page.
Here's the code I used. The resulting page image in attached. This doesn't look anything like your Little Red Riding hood example. SO WHAT AM I MISSING?
<html><head></head><body>
<form method="post">
<p>
My Editor:<br />
<textarea id="editor1" name="editor1"></textarea>
</p>
<p>
<input type="submit" />
</p>
</form>
<?php
include_once "ckeditor/ckeditor.php";
// Create a class instance.
$CKEditor = new CKEditor();
// Path to the CKEditor directory.
$CKEditor->basePath = '/ckeditor/';
// Create a textarea element and attach CKEditor to it.
$CKEditor->editor("editor1", "This is some sample text");
?>
</body></html>
Interesting--when I unzipped from the command line I got a bunch of directories along with a bunch of files. When I previously unzipped using the "extract" command from Nautilus, Nautilus apparently pulled everything out of their sub-directories. So this goes part way towards getting me going.
The blog you directed us to is also very helpful in providing some bigger picture on how the app works. It would be useful if that information were included in the app documentation.
I think the issue some experience is that there's doesn't appear to be any documentation (at least that I could find) on how to connect CKEditor with an existing data source (like mysql). Pointing people to the php folder in the _samples folder isn't helpful if people don't understand how to grab the $initialValue from a database and how to store the new value.
I used FCKEditor on a site years ago, so I'm sure I will be able to figure out what I need. But, I'm guessing many people will abandon CKEditor because they don't want to search through the sample files to figure out exactly how it work.
Finally, this post isn't a criticism of anyone involved in this project. I'm simply pointing out that what be obvious for one person (the php statements to get CKEditor data into a database, for example) might not be obvious to someone who has never seen the CKEditor code before.
Hey Include this in head --> <script type="text/javascript" src="ckeditor/ckeditor.js"></script> and this in body --> <textarea id="editor1" class="ckeditor" name="editor1"> Sample data </textarea>
I'm still fairly new to CKEditor and CKFinder and I must say this is a problem I'm finding to be increasingly frustrating. The documentation seems to explain a lot, but not the basics, of which the writers of the documentation seem to have taken for granted that everyone should be able to figure it out. The documentation could do with a serious overhaul with a user with no experience of CKEditor/Finder in mind when writing it.
thanks for your feedback. Anyone willing to review our documentation is most welcome to do it! Just send me a private message through the forum and we can discuss the most suitable method to do so. Any input will be greatly appreciated!
it is not possible for someone w/o deep knowledge how this tool works to start using it.
Please include in documentation a simple howto's how to edit existing index.html/php on someone website
Samples included are not for beginners, nowhere is to find a expels for OP questions.
I tried the replacebycode.html but there are few files included, it will be simple to include a example where a replacebycode.html will edit a index.php in web root.
Re: So how to get started?
Documentation Manager, CKSource
See CKEditor 5 docs, CKEditor 4 docs, CKEditor 3 docs, CKFinder 3 docs, CKFinder 2 docs for help.
Visit the new CKEditor SDK for samples showcasing editor features to try out and download!
Re: So how to get started?
Re: So how to get started?
Unfortunately nowhere in your docs does it say how to open a page for editing.
Thank you
Re: So how to get started?
http://ckeditor.com/downloadhttp://download.cksource.com/CKEditor/C ... _3.6.1.zip
http://localhost/ckeditor/_samples/index.html
http://nightly.ckeditor.com/7212/_samples/
Documentation Manager, CKSource
See CKEditor 5 docs, CKEditor 4 docs, CKEditor 3 docs, CKFinder 3 docs, CKFinder 2 docs for help.
Visit the new CKEditor SDK for samples showcasing editor features to try out and download!
Re: So how to get started?
I've done all that and the sample page loads just like it should.
Now how do I edit one of the real pages in my website? I copied a page from my site to the .../_samples directory. Pointed my browser(Firefox) at it and loads the page but no toolbar with which to edit it.
That's the problem.
D
Re: So how to get started?
I downloaded that file, extracted the files. There is no _samples/index.html folder.
The localhost/ckeditor returns the same samples on the nightly page you mention. But they do not answer my question. For example, "create ckeditor instances in php" does not bring me to the editing interface. It just opens a simple webpage with a text area and a submit button. But that's not what I'm looking for. There's not even any explanation of what that does when I hit the submit button. It certainly doesn't create any formatted html on the web page.
Here's the code I used. The resulting page image in attached. This doesn't look anything like your Little Red Riding hood example. SO WHAT AM I MISSING?
<html><head></head><body> <form method="post"> <p> My Editor:<br /> <textarea id="editor1" name="editor1"></textarea> </p> <p> <input type="submit" /> </p> </form> <?php include_once "ckeditor/ckeditor.php"; // Create a class instance. $CKEditor = new CKEditor(); // Path to the CKEditor directory. $CKEditor->basePath = '/ckeditor/'; // Create a textarea element and attach CKEditor to it. $CKEditor->editor("editor1", "This is some sample text"); ?> </body></html>Attachments:
Re: So how to get started?
http://alfonsoml.blogspot.com/2009/08/u ... sites.html
Re: So how to get started?
The blog you directed us to is also very helpful in providing some bigger picture on how the app works. It would be useful if that information were included in the app documentation.
Thanks. We'll see how it goes from here.
Re: So how to get started?
http://ckeditor.com/what-is-ckeditor
Re: So how to get started?
I used FCKEditor on a site years ago, so I'm sure I will be able to figure out what I need. But, I'm guessing many people will abandon CKEditor because they don't want to search through the sample files to figure out exactly how it work.
Finally, this post isn't a criticism of anyone involved in this project. I'm simply pointing out that what be obvious for one person (the php statements to get CKEditor data into a database, for example) might not be obvious to someone who has never seen the CKEditor code before.
Re: So how to get started?
Include this in head --> <script type="text/javascript" src="ckeditor/ckeditor.js"></script>
and this in body --> <textarea id="editor1" class="ckeditor" name="editor1"> Sample data </textarea>
Hope this helps
Re: So how to get started?
Re: So how to get started?
thanks for your feedback. Anyone willing to review our documentation is most welcome to do it! Just send me a private message through the forum and we can discuss the most suitable method to do so. Any input will be greatly appreciated!
Documentation Manager, CKSource
See CKEditor 5 docs, CKEditor 4 docs, CKEditor 3 docs, CKFinder 3 docs, CKFinder 2 docs for help.
Visit the new CKEditor SDK for samples showcasing editor features to try out and download!
it is not possible for
it is not possible for someone w/o deep knowledge how this tool works to start using it.
Please include in documentation a simple howto's how to edit existing index.html/php on someone website
Samples included are not for beginners, nowhere is to find a expels for OP questions.
I tried the replacebycode.html but there are few files included, it will be simple to include a example where a replacebycode.html will edit a index.php in web root.