Can someone help me get the FCKeditor extension running?
Posted: 26 October 2006 02:19 AM   [ Ignore ]  
Grad Student
Rank
Total Posts:  32
Joined  01-11-2006

Hi,

I first installed the tinymce extension for a clients website. That was u and running but for some reason tinymce messes up al the url’s in the inputted text…
So i want to switch to FCKeditor. I installed it according to the readme file but it does not work! I can enable the extension in the extension manager but there is no editor in the publish page.
Can someone help get this problem solved, i’m even willing to pay someone who can help me out with this.

P.S. I work with custom fields.

Profile
 
 
Posted: 26 October 2006 04:00 AM   [ Ignore ]   [ # 1 ]  
Grad Student
Avatar
Rank
Total Posts:  67
Joined  06-25-2006

I have FCKEditor running on my system. It took some messing around and I kept a record of what I did.

Can you post what settings you have made so far so I can have a look?

 Signature 

Never doubt that a small group of thoughtful, committed citizens can change the world;
indeed it is the only thing that ever has. Margaret Mead

The High Lonesome Shack

Profile
 
 
Posted: 26 October 2006 06:09 AM   [ Ignore ]   [ # 2 ]  
Grad Student
Rank
Total Posts:  32
Joined  01-11-2006

I copied the folder FCKeditor in de rootfolder of my site.
I copied the extension file in the extension folder.
I copied the language file in the language folder.

I enabled the extension in the CP.
Tried to run without changing the settings. Nothing happened.

Then tried to enter the url’s where he could find the script in the settings panel. Check below.

URL of FCKEditor Script: http://www.mysite.be/FCKeditor/fckconfig.js

FCKEditor Configuration :

var oFCKeditor = new FCKeditor(textAreaName);
oFCKeditor.BasePath = ‘http://www.mysite.be/FCKeditor/’ ;
oFCKeditor.Config[“CustomConfigurationsPath”]=“http://www.mysite.be/FCKeditor/fckconfig.js”;
oFCKeditor.ToolbarSet = ‘eetestToolbar’;
oFCKeditor.ReplaceTextarea() ;

Profile
 
 
Posted: 26 October 2006 07:03 AM   [ Ignore ]   [ # 3 ]  
Grad Student
Avatar
Rank
Total Posts:  67
Joined  06-25-2006

OK. I’ve looked up the notes I made and reproduced them here. Some of it may not be quite right or necessary, but these are the hacks I made. The filename is in bold and the location is in italic. As I say they are hacks. I’m no expert.

What I put together was mostly from the .

Good luck!

PS for any EE people listening - please develop an integrated wysiwyg editor. I’m sure you seen one that simply plugs into Wordpress. I want to make sites that reasonably competent people can easily input to in a familiar way. Build one that has selectable format options to enable/disable to suit the developer’s need to preserve layout and design. When I recently saw the wordpress editor I thought “I want that one!” Akismet integration would be nice too.

EE Extension Config
location EE->Admin->Utilities->Extensions->FCKEditor

var oFCKeditor = new FCKeditor(textAreaName);
oFCKeditor.BasePath = '../fckeditor/' ;
oFCKeditor.Config["CustomConfigurationsPath"]="http://www.highandlonesome.com/myconfig.js";
oFCKeditor.ReplaceTextarea() ;

fckconfig.js

var _FileBrowserLanguage = 'php' ; // asp | aspx | cfm | lasso | perl | php | py
var _QuickUploadLanguage = 'php' ; // asp | aspx | cfm | lasso | php

myconfig.js
location - site root
Custom settings for FCK Editor and EE

// Say which connector to use
FCKConfig.ImageBrowserURL =
'http://www.highandlonesome.com/fckeditor/editor/filemanager/browser/default/browser.html?Type=Image&Connector=connectors/php/connector.php';
FCKConfig.LinkBrowserURL =
'http://www.highandlonesome.com/fckeditor/editor/filemanager/browser/default/browser.html?Type=File&Connector=connectors/php/connector.php';
FCKConfig.MediaBrowserURL =
'http://www.highandlonesome.com/fckeditor/editor/filemanager/browser/default/browser.html?Type=Media&Connector=connectors/php/connector.php';
// Getting rid of unneccessary image upload functions
FCKConfig.ImageDlgHideLink = true;
FCKConfig.ImageUpload = false;
FCKConfig.ImageDlgHideAdvanced = true;

FCKConfig.StylesXmlPath = '../fckstyles.xml' ;

config.php
fckeditor>editor>filemanager>browser>default>connectors>php> config.php

$Config'Enabled' = true ;
// Path to user files relative to the document root.
$Config'UserFilesPath' = '/images' ;
// Fill the following value it you prefer to specify the absolute path for the
// user files directory. Usefull if you are using a virtual directory, symbolic
// link or alias. Examples: 'C:\\MySite\\UserFiles\\' or '/root/mysite/UserFiles/'.
// Attention: The above 'UserFilesPath' must point to the same directory.
//$Config'UserFilesAbsolutePath' = './public_html/images/' ;DON'T USE THIS
frmresourceslist.html
fckeditor
>editor>filemanager>broswer>default> frmresourceslist.html
after
function OpenFolder( folderPath )
//hacked by CE
function OpenFile( fileUrl )
{
var urlChange = 'http://www.highandlonesome.com'+fileUrl.toString();
window.top.opener.SetUrl(urlChange) ;
// window.top.opener.SetUrl( fileUrl )
window.top.close() ;
window.top.opener.focus() ;
}

 Signature 

Never doubt that a small group of thoughtful, committed citizens can change the world;
indeed it is the only thing that ever has. Margaret Mead

The High Lonesome Shack

Profile
 
 
Posted: 16 August 2007 02:04 PM   [ Ignore ]   [ # 4 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  117
Joined  03-08-2006

Hi Folks,

Thanks for this.
I think my problem precedes the uploading issue. Whenever I click the “Browse Server” button, I get a large window with an error.

The error seems to show that I it is still trying to use the .asp connector, despite that I’ve changed this in the fckconfig.js file. (I’ve attached a snapshot of the error).
These are my setttings for choosing the connector, but they don’t seem to work. I still get the asp error when trying to browser the server.

var _FileBrowserLanguage    = 'php' ;    // asp | aspx | cfm | lasso | perl | php | py
var _QuickUploadLanguage    = 'php' ;    // asp | aspx | cfm | lasso | php

I’ve also configured the php connectors, etc. and even tried commenting out the lines you suggested.  Can’t seem to get past this “using the wrong connector issue.” this has to be simple.

Any help appreciated.

Image Attachments
wrong_connector.gif
Click thumbnail to see full-size image
 Signature 

http://www.the-ma.com
http://www.plebeian.org

Profile
 
 
Posted: 30 August 2007 03:47 PM   [ Ignore ]   [ # 5 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  117
Joined  03-08-2006

Sorry to Bump, but I would L-O-V-E to get this working. Anyone with idead I should try?

 Signature 

http://www.the-ma.com
http://www.plebeian.org

Profile
 
 
Posted: 08 September 2007 09:52 AM   [ Ignore ]   [ # 6 ]  
Summer Student
Total Posts:  15
Joined  11-11-2006

not sure if you’ve got this resolved, but i find that if I ever change a .js file clearing my cache will greatly help…

in firefox shift+clicking the refresh button will do the trick!

also, in firefox if you go right the js file it will read it so you can BE SURE your changes have been made.(http://www.yourserver.com/fckconfig.js) This maybe overkill, but when trying to trouble shoot a problem its worth the extra 5 seconds!

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 65030 Total Logged-in Users: 22
Total Topics: 82119 Total Anonymous Users: 17
Total Replies: 441325 Total Guests: 185
Total Posts: 523444    
Members ( View Memberlist )
Newest Members:  cfvicdreamNOIRgmonCooperWrightReedsmeenoiYang.JianuoioitsukiNathan Hammondalexcig