I made a simple PHP file that will reproduce my problem :
<?php
include("./ckeditor/ckeditor.php"); //Version : CKEditor 3.5.2
?>
<HTML>
<HEAD>
<?php
//If I include BOTH of the 2 JavaScript files, the CKEditor instance just won't work, but it will if I don't.
//If I comment these two lines, the CKEditor will apprear and work. /*
echo "<script type=\"text/javascript\" src=\"".$conf["baseURL"]."include/ajax/prototype.js\"></script>" //Version : Prototype.js 1.4.0_rc1
."<script type=\"text/javascript\" src=\"".$conf["baseURL"]."include/ajax/rico.js\"></script>"; //Version : Rico.js 1.1rc1
// */
?>
</HEAD>
<BODY>
<h1>Oh hi there, you.</h1>
<div style="background-color:abf;border:1px solid gray;">
<?php
$oCKEditor = new CKEditor();
$oCKEditor->editor('myEditorInstance1', 'The text in the CKEditor instance that won\'t appear anyway.');
?>
</div>
<p>Text after the CKEditor Instance.</p>
</BODY>
</HTML>
That's not a simple testcase, I would need to setup a PHP server and then find out where to download those libraries. Can you upload it to a public server to make it easier to test it?
Re: Problem with Rico.js/Prototype.js (AJAX)
I really need to get this done, I can't believe no one has an answer for this!
Re: Problem with Rico.js/Prototype.js (AJAX)
Re: Problem with Rico.js/Prototype.js (AJAX)
<?php include("./ckeditor/ckeditor.php"); //Version : CKEditor 3.5.2 ?> <HTML> <HEAD> <?php //If I include BOTH of the 2 JavaScript files, the CKEditor instance just won't work, but it will if I don't. //If I comment these two lines, the CKEditor will apprear and work. /* echo "<script type=\"text/javascript\" src=\"".$conf["baseURL"]."include/ajax/prototype.js\"></script>" //Version : Prototype.js 1.4.0_rc1 ."<script type=\"text/javascript\" src=\"".$conf["baseURL"]."include/ajax/rico.js\"></script>"; //Version : Rico.js 1.1rc1 // */ ?> </HEAD> <BODY> <h1>Oh hi there, you.</h1> <div style="background-color:abf;border:1px solid gray;"> <?php $oCKEditor = new CKEditor(); $oCKEditor->editor('myEditorInstance1', 'The text in the CKEditor instance that won\'t appear anyway.'); ?> </div> <p>Text after the CKEditor Instance.</p> </BODY> </HTML>Here you go
Re: Problem with Rico.js/Prototype.js (AJAX)
Can you upload it to a public server to make it easier to test it?
Re: Problem with Rico.js/Prototype.js (AJAX)
http://www.megaupload.com/?d=NTH4AK2E
EasyPHP
Re: Problem with Rico.js/Prototype.js (AJAX)