nukeSEO.com - PHPNuke SEO Search engine optimization, professional tools including nukeSEO, nukeSPAM, nukeFEED, nukePIE, nukeWYSIWYG and more

 

. Welcome to nukeSEO.com  ! 
.
.
.


.
nukeSEO.com: Forums


 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CKEditor
 Goto page 1, 2  Next
 
Post new topic   Reply to topic    nukeSEO.com Forum Index -> nukeWYSIWYG (tm)
View previous topic :: View next topic  
Author Message
Guardian
webmaster


Joined: Dec 25, 2005
Posts: 364
Location: Vsetin, Czech Republic

PostPosted: Wed Feb 17, 2010 9:20 am    Post subject: CKEditor Reply with quote

You don't really need to 'port' it, thats the beauty of it.
I'm in the process of removing the tinyMCE editor on a (none *nuke) site I have and it's so easy to integrate it took me all of 2 minutes once the editor files where uploaded.
I opted to use the plain javascript API so you have to include the ckeditor.js file within your head tags then all you need to do is find your existing form text area's and add after it
opening script tag
CKEDITOR.replace( 'textareaname' );
closing script tag
Just change 'textareaname' to whatever name your current text are has.
In my case, I'm using two custom toolbars, one for users and one for admins, so for the user tool bar you just have to do
Code:
CKEDITOR.replace( 'textareaname',

    {
        toolbar : 'UserToolbar'
    });


There is also a jQuery API you can use too Smile

The only thing I don't like about it is the lost facility to upload files. The 'server' browser functionality is still there but no upload from PC facility, though there are detailed how-to's on integrating a file uploader if you don't want to buy their CKFinder.
  
Back to top
View user's profile Send private message
Guardian






PostPosted: Wed Feb 17, 2010 9:21 am    Post subject: Reply with quote

Oops, this was supposed to be a reply to
http://www.nukeseo.com/modules.php?name=Forums&file=viewtopic&t=359
  
Back to top
kguske
Site Admin
Site Admin


Joined: May 12, 2005
Posts: 876

PostPosted: Wed Feb 17, 2010 9:52 am    Post subject: Reply with quote

The upload feature is a show-stopper. And the instructions for integrating a file uploader aren't helpful. I spent more than a day looking at that - and all the options. I even posted an article about it...
_________________
  
Back to top
View user's profile Send private message Visit poster's website
Guardian






PostPosted: Wed Feb 17, 2010 11:39 am    Post subject: Reply with quote

Only registered users can see links on this board! Get registered or login!works quite well.
You need to use the jQuery API but implementation is basically the same as the JS API except you set the editor instance in a var
Code:


textarea name="editor1" blah blah

var ckeditor = CKEDITOR.replace('editor1');
AjexFileManager.init({
   returnTo: 'ckeditor',
   editor: ckeditor,
   skin: 'light'
});

I have not tested for vulnerabilities or used it in a production environment yet (only locahost).
  
Back to top
Palbin
webmaster


Joined: Nov 28, 2007
Posts: 38

PostPosted: Tue Mar 02, 2010 10:29 pm    Post subject: Reply with quote

Guardian wrote:
Only registered users can see links on this board! Get registered or login!works quite well.
You need to use the jQuery API but implementation is basically the same as the JS API except you set the editor instance in a var
Code:


textarea name="editor1" blah blah

var ckeditor = CKEDITOR.replace('editor1');
AjexFileManager.init({
   returnTo: 'ckeditor',
   editor: ckeditor,
   skin: 'light'
});

I have not tested for vulnerabilities or used it in a production environment yet (only locahost).


I agree the quick upload feature even works with it. Just need to add in authentication, but it is written in php so it should be easy.
  
Back to top
View user's profile Send private message
Palbin






PostPosted: Tue Mar 02, 2010 10:33 pm    Post subject: Reply with quote

Here is a direct link to the demo:
http://demphest.ru/demo/AjexFileManager/ckeditor-file-browser.html

Here is a direct link to the file manage in English since the demo is in German.
http://demphest.ru/demo/AjexFileManager/AjexFileManager/index.html?type=image&connector=php&lang=ru&returnTo=ckeditor&skin=light&contextmenu=true&CKEditor=editor1&CKEditorFuncNum=1&langCode=en
  
Back to top
Guardian






PostPosted: Wed Mar 03, 2010 5:12 am    Post subject: Reply with quote

There should be a text link at the very top left of his site to switch to English (the default is Russian).
  
Back to top
nuken
webmaster


Joined: Jan 02, 2009
Posts: 26

PostPosted: Wed May 26, 2010 12:21 pm    Post subject: Reply with quote

Here is an open-source alternative of CKFinder...


Only registered users can see links on this board! Get registered or login!
_________________
Only registered users can see links on this board! Get registered or login!
  
Back to top
View user's profile Send private message
Guardian






PostPosted: Wed May 26, 2010 1:33 pm    Post subject: Reply with quote

That looks interesting with its "Optional session configuration to integrate in other applications" - I'll have to look at that one, thanks for posting the link.
  
Back to top
kguske






PostPosted: Wed May 26, 2010 2:53 pm    Post subject: Reply with quote

Haven't looked into the session configuration yet, but functionally, it looks pretty strong. I originally tested several and found problems pretty quickly with most of them. I'll have to put this one through the paces...
  
Back to top
nuken






PostPosted: Wed May 26, 2010 3:25 pm    Post subject: Reply with quote

Something that is also truly interesting is their css and js joiner.

Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login!
  
Back to top
kguske






PostPosted: Wed May 26, 2010 4:09 pm    Post subject: Reply with quote

Don't have time to look at that - especially since I already looked at other options for optimizing and consolidating CSS and JS...OK, maybe I'll look at that, too, but not until after the CKFinder alternative...
  
Back to top
nuken






PostPosted: Wed May 26, 2010 4:34 pm    Post subject: Reply with quote

I understand that. I was looking around for ways to compress my js and css when I found them. That fellow has some really cool ideas...
  
Back to top
rodsimm
Newbie
Newbie


Joined: May 28, 2010
Posts: 2

PostPosted: Fri May 28, 2010 4:21 am    Post subject: KCFinder Reply with quote

Hi, Thanks I have looked at kcfinder.. very nice. However i have downloaded it and can't get it to work. I am using Vista/Php5/Apache 2. When i try the example code...
<script>

function openKCFinder(field) {
window.KCFinder = {
callBack: function(value) {
document.getElementById(field).value = value;
}
};
window.open('kcfinder-1.4/browse.php', 'kcfinder',
'status=0, toolbar=0, location=0, menubar=0, directories=0, ' +
'resizable=1, scrollbars=0, width=800, height=600'
);

}
</script>

Click on the button to open kcfinder and i can see a window open briefly, it is then replaced with a window saying
"You have chosen to open browser.php.." on local server.
I have tried clearing cache/cookies/adding lines to config files/ and setting htaccess files to php_value engine on.
What is the problem?
I have wasted hours on this problem with out a solution.
Many thanks, Rod
  
Back to top
View user's profile Send private message
Guardian






PostPosted: Fri May 28, 2010 5:07 am    Post subject: Reply with quote

Have you tried asking on the KCFinder developers website?
  
Back to top
Display posts from previous:       
Post new topic   Reply to topic    nukeSEO.com Forum Index -> nukeWYSIWYG (tm) All times are GMT - 5 Hours
 Goto page 1, 2  Next
 Page 1 of 2

 

Jump to:   
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001-2008 phpBB Group


Page Generation: 0.08 Seconds