Addendum ... I decided to try a fresh Drupal to see if that made a difference. Went through exactly the same steps.
Now I get a Browse Server button ... but ...
The files are being uploaded to D:\Program Files\Zend\Apache2\docs\dummy-host.example.com\Acquia\sites\default\files\images.
I can't for the life of me figure out where that location is coming from, but that's where the uploaded files are going.
So of course what happens is that files are uploaded to the server, but when CKFinder constructs the link to the image to insert back to the page being edited - ha. Files aren't on that path.
After installing CKEditor and CKFinder, go to people > permissions and check "CKFinder Access" under the CKEditor section. This made the "Browse Server" button show up for me.
I'm attempting to get ckfinder functionality in ckeditor 4.2.2. I'm using php and javascript. I have the editor (inline) working just fine, but unless I change my I cannot get my <div> tags to use ckfinder unless I change them to <textarea> tags. Is <textarea> the only allowed element for ckfinder?
CODE:
I use php to generate "articles", as function calls like so:
By getting rid of the ?type= attributes, it worked with CKFinder. This broke because in CKFinder I removed the extra Image and File folder/access definitions...so these links assume its still in place and bugged out. Removing them, puts the user at the base folder which is fine for my application.
Re: Need Help Integrating CK Finder With CKEditor
Now I get a Browse Server button ... but ...
The files are being uploaded to D:\Program Files\Zend\Apache2\docs\dummy-host.example.com\Acquia\sites\default\files\images.
I can't for the life of me figure out where that location is coming from, but that's where the uploaded files are going.
So of course what happens is that files are uploaded to the server, but when CKFinder constructs the link to the image to insert back to the page being edited - ha. Files aren't on that path.
???
Re: Need Help Integrating CK Finder With CKEditor
the administrator account didn't get the site administrator role by default
Re: Need Help Integrating CK Finder With CKEditor
After installing CKEditor and
After installing CKEditor and CKFinder, go to people > permissions and check "CKFinder Access" under the CKEditor section. This made the "Browse Server" button show up for me.
CKEditor & CKFinder
Greetings!
I'm attempting to get ckfinder functionality in ckeditor 4.2.2. I'm using php and javascript. I have the editor (inline) working just fine, but unless I change my I cannot get my <div> tags to use ckfinder unless I change them to <textarea> tags. Is <textarea> the only allowed element for ckfinder?
CODE:
I use php to generate "articles", as function calls like so:
<?php display_article(stage1)?>
The function display_article does this:
(snippit)
echo "<div id='{$aid}-article' class='about'";
if(isset($_SESSION['email'])){
echo "contenteditable='true'";
}
echo ">";
while($row = mysql_fetch_array( $rs ))
{
echo $row['text'];
}
echo "</div>
I have ckeditor working with this method. But it wont let ckfinder work.
My ckeditor config.js:
CKEDITOR.editorConfig = function( config ) {
config.extraPlugins = 'savebtn';
config.saveSubmitURL = 'http://noxgeo.dyndns.org/dsm/result.php';
config.allowedContent = true;
};
CKEDITOR.replace( 'editor1',
{
filebrowserBrowseUrl : 'ckfinder/index.html',
filebrowserUploadUrl : 'ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files',
} );
If I use the demo <textarea id="editor1" name="editor1"></textarea>
ckfinder funcitons, but I need <div> tags as shown above...am I missing something?
Thanks!
CKEditor & CKFinder -- Solved
I found my own solution over time:
In my situation the repair was to the manual configuration of CKEDITOR.inline in the javascript like so:
CKEDITOR.inline( 'editable', {
filebrowserBrowseUrl: 'ckfinder/ckfinder.html',
filebrowserImageBrowseUrl: 'ckfinder/ckfinder.html',
filebrowserFlashBrowseUrl: 'ckfinder/ckfinder.html',
filebrowserUploadUrl: 'ckfinder/core/connector/php/connector.php?command=QuickUpload',
filebrowserImageUploadUrl: 'ckfinder/core/connector/php/connector.php?command=QuickUpload',
filebrowserFlashUploadUrl: 'ckfinder/core/connector/php/connector.php?command=QuickUpload'
});
By getting rid of the ?type= attributes, it worked with CKFinder. This broke because in CKFinder I removed the extra Image and File folder/access definitions...so these links assume its still in place and bugged out. Removing them, puts the user at the base folder which is fine for my application.